[llvm] r246453 - [llvm-readobj] Add pair of missing braces.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 31 10:12:23 PDT 2015
Author: davide
Date: Mon Aug 31 12:12:23 2015
New Revision: 246453
URL: http://llvm.org/viewvc/llvm-project?rev=246453&view=rev
Log:
[llvm-readobj] Add pair of missing braces.
This fixes a regression introduced in r246151.
Modified:
llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
Modified: llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp?rev=246453&r1=246452&r2=246453&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp Mon Aug 31 12:12:23 2015
@@ -322,11 +322,12 @@ static void dumpObject(const ObjectFile
if (opts::COFFBaseRelocs)
Dumper->printCOFFBaseReloc();
}
- if (Obj->isMachO())
+ if (Obj->isMachO()) {
if (opts::MachODataInCode)
Dumper->printMachODataInCode();
if (opts::MachOVersionMin)
Dumper->printMachOVersionMin();
+ }
if (opts::PrintStackMap)
Dumper->printStackMap();
}
More information about the llvm-commits
mailing list