Remember the unmangled name in the plugin.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Dec 2014 16:50:57 +0000 (16:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Dec 2014 16:50:57 +0000 (16:50 +0000)
commitf214fe8b32b78d414838f85d6e758cfca0e5c234
tree10df34202f4dbf57c4e972909e885fa299cd5152
parent8eabcf7ce7ffaa73a28a078d7e6201fa480e0417
Remember the unmangled name in the plugin.

This allows it to work with non trivial manglings like the one in COFF.

Amusingly, this can be tested with gold, as emit-llvm causes the plugin to
exit before any COFF is generated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223790 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/coff.ll [new file with mode: 0644]
tools/gold/gold-plugin.cpp