[PATCH] D60122: [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping.
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 12:00:39 PDT 2019
rupprecht added inline comments.
================
Comment at: tools/yaml2obj/yaml2elf.cpp:807-808
+ StringRef Name = Sym.Name;
+ if (Sym.Binding.value == ELF::STB_LOCAL && GlobalSymbolSeen) {
+ WithColor::error() << "Has a local symbol '" + Name + "' after global.\n";
+ return false;
----------------
Why does this need to be an error?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60122/new/
https://reviews.llvm.org/D60122
More information about the llvm-commits
mailing list