1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

revert inadvertedly introduced build break

Summary:
r288722 introduced a build break due some code that should
not have been part of the commit. This change removes the offending
code.

Reviewers: davide, ruiu

Differential Revision: https://reviews.llvm.org/D27435

llvm-svn: 288742
This commit is contained in:
Bob Haarman 2016-12-06 00:55:55 +00:00
parent 404d8d84c6
commit 533bc72b86

View File

@ -357,15 +357,7 @@ Error LLVMOutputStyle::dumpGlobalsStream() {
auto Globals = File.getPDBGlobalsStream();
if (!Globals)
return handleErrors(Globals.takeError(),
[&](const msf::MSFError &E) -> Error {
if (E.Code == msf::msf_error_code::no_stream) {
P.printString("Globals Stream not present");
return Error::success();
} else {
return make_error<msf::MSFError>(E);
}
});
return Globals.takeError();
DictScope D(P, "Globals Stream");
auto Dbi = File.getPDBDbiStream();