Handle weak_extern in the JIT. This fixes
authorDan Gohman <gohman@apple.com>
Mon, 5 Jan 2009 05:32:42 +0000 (05:32 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 5 Jan 2009 05:32:42 +0000 (05:32 +0000)
commit69f9378675b23135043d93aa58300fed3ec41cbf
tree81d5c99a3387d8c274c61443fae54f8e8006d6dc
parent1c7a81b0c5cbc982755e1a4dca9d1726f3f5c1c0
Handle weak_extern in the JIT. This fixes
SingleSource/UnitTests/2007-04-25-weak.c in JIT mode. The test
now passes on systems which are able to produce a correct
reference output to compare with.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/Intercept.cpp
lib/ExecutionEngine/JIT/JIT.cpp
lib/ExecutionEngine/JIT/JIT.h
lib/ExecutionEngine/JIT/JITEmitter.cpp