llvm-project/llvm/lib/Bitcode/Reader
Petar Jovanovic 7480e4db5e 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
..
BitReader.cpp Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
BitcodeReader.cpp Do not destroy external linkage when deleting function body 2014-09-23 12:54:19 +00:00
BitcodeReader.h Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
BitstreamReader.cpp Use IntrusiveRefCntPtr to manage the lifetime of BitCodeAbbrevs. 2014-09-15 15:44:14 +00:00
CMakeLists.txt BitstreamReader hasn't aged well. It's been hacked on by various people and 2013-01-19 18:19:39 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile