summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-08-16 21:34:41 +0000
committerReid Kleckner <rnk@google.com>2018-08-16 21:34:41 +0000
commit602c0dafdd022f23a26506fb26c6ce8ec7ae8a4d (patch)
tree7b67665c3e8d54f7687a168215526a0002d7bcd8 /llvm/lib/Demangle/ItaniumDemangle.cpp
parent19763d93fdbe678485ff97fc43ac7472a7cdf807 (diff)
downloadbcm5719-llvm-602c0dafdd022f23a26506fb26c6ce8ec7ae8a4d.tar.gz
bcm5719-llvm-602c0dafdd022f23a26506fb26c6ce8ec7ae8a4d.zip
[MC] Improve COFF associative section lookup
Handle the case when the symbol is private. Private symbols are not in the COFF object file symbol table, so they aren't inserted into SymbolMap. We can't look up the section of the symbol that way. Instead, get the MCSection from the MCSymbol and map that to the object file section. Print a better error message when the symbol has no section, like when the symbol is undefined. Fixes PR38607 llvm-svn: 339942
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud