summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-09-23 12:54:19 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2014-09-23 12:54:19 +0000
commit7480e4db5e629e8410c9fed37b3f9a16bb57a8fa (patch)
treec08583030536877e89eae4c00a76e68ad87ca6e0 /llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
parent40592d2dec009c2bb3204c75d195f42ebcada739 (diff)
downloadbcm5719-llvm-7480e4db5e629e8410c9fed37b3f9a16bb57a8fa.tar.gz
bcm5719-llvm-7480e4db5e629e8410c9fed37b3f9a16bb57a8fa.zip
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
Diffstat (limited to 'llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud