[PATCH] D24336: [ELF] - Versionscript: support mangled symbols with the same name.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 03:41:26 PDT 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: grimar, llvm-commits, emaste, evgeny777.
This is PR30312. Info from bug page:
Both of these symbols demangle to abc::abc():
_ZN3abcC1Ev
_ZN3abcC2Ev
(These would be abc's complete object constructor and base object constructor, respectively.)
however with `"abc::abc()"` in the version script only one of the two receives the symbol version.
Patch fixes that.
It uses testcase created by Ed Maste (D24306).
https://reviews.llvm.org/D24336
Files:
ELF/SymbolTable.cpp
ELF/SymbolTable.h
test/ELF/version-script-extern.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24336.70676.patch
Type: text/x-patch
Size: 4562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160908/4e78e579/attachment-0001.bin>
More information about the llvm-commits
mailing list