1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests/Bitcode
Petar Jovanovic ad76773e07 Do not destroy external linkage when deleting function body
The function deleteBody() converts the linkage to external and thus destroys
original linkage type value. Lack of correct linkage type causes wrong
relocations to be emitted later.
Calling dropAllReferences() instead of deleteBody() will fix the issue.

Differential Revision: http://reviews.llvm.org/D5415

llvm-svn: 218302
2014-09-23 12:54:19 +00:00
..
BitReaderTest.cpp Do not destroy external linkage when deleting function body 2014-09-23 12:54:19 +00:00
CMakeLists.txt BitcodeTests: Fix LINK_COMPONENTS. 2014-08-02 00:12:54 +00:00
Makefile BitcodeTests: Fix LINK_COMPONENTS. 2014-08-02 00:12:54 +00:00