projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff25b3
)
Style fix.
author
Rui Ueyama
<ruiu@google.com>
Fri, 28 Feb 2014 05:21:26 +0000
(
05:21
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 28 Feb 2014 05:21:26 +0000
(
05:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202465
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/COFFDump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/COFFDump.cpp
b/tools/llvm-objdump/COFFDump.cpp
index 90ebe8c51830d0a125ab69d85bb0c8b61118ab06..c4bd81adedc370bb73752b1e2e0a172cfa992393 100644
(file)
--- a/
tools/llvm-objdump/COFFDump.cpp
+++ b/
tools/llvm-objdump/COFFDump.cpp
@@
-198,7
+198,8
@@
static error_code getSectionContents(const COFFObjectFile *Obj,
ArrayRef<uint8_t> &Contents,
uint64_t &Addr) {
SymbolRef Sym;
- if (error_code ec = resolveSymbol(Rels, Offset, Sym)) return ec;
+ if (error_code EC = resolveSymbol(Rels, Offset, Sym))
+ return EC;
const coff_section *Section;
if (error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
return EC;