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:
ef31540
)
[yaml2obj][ELF] Refer to a section in the error message by its name not
author
Simon Atanasyan
<simon@atanasyan.com>
Fri, 14 Mar 2014 06:53:25 +0000
(06:53 +0000)
committer
Simon Atanasyan
<simon@atanasyan.com>
Fri, 14 Mar 2014 06:53:25 +0000
(06:53 +0000)
index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203899
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/yaml2obj/yaml2elf.cpp
patch
|
blob
|
history
diff --git
a/tools/yaml2obj/yaml2elf.cpp
b/tools/yaml2obj/yaml2elf.cpp
index c8fc0637eefe5973ae85ef515b53744ea53b597b..b51a6dacef57be553f0759052130cdf1c8f114a4 100644
(file)
--- a/
tools/yaml2obj/yaml2elf.cpp
+++ b/
tools/yaml2obj/yaml2elf.cpp
@@
-326,7
+326,7
@@
static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) {
unsigned Index;
if (SN2I.lookupSection(Sec.Link, Index)) {
errs() << "error: Unknown section referenced: '" << Sec.Link
- << "' at YAML section
number " << i << "
.\n";
+ << "' at YAML section
'" << Sec.Name << "'
.\n";
return 1;
}
SHeader.sh_link = Index;