cc2bd110643265cd06ab749ad2b3da58b4de66a3 |
|
14-May-2015 |
Stephen Hines <srhines@google.com> |
Fix Android.mk files for plugins on darwin. Darwin uses a few different flags for this than Linux, and we missed this when we updated the test builds recently. Change-Id: I8a0e8bc18ef698a0ed933f96b2bce0653f4307e5 (cherry picked from commit 651de8d5ac0b28b10ad0259efc75cf6152dc13dc)
/external/llvm/lib/Transforms/Hello/Android.mk
|
e1bc145815f4334641be19f1c45ecf85d25b6e5a |
|
23-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Export all dynamic symbols for opt and bugpoint bug 15433215 Command line options from an LLVM module are registered and stored in a static global object in libLLVMSupport. Linking the Hello module with its own copy of libLLVMSupport meant this module's option was not registered correctly. This patch updates Hello's build rules to not link with libLLVMSupport and libLLVMCore. Given the above change, the Hello module still needs to find LLVM symbols that it used to pull directly. The second half of this patch adds linker flag --export-dynamic to tools/opt and tools/bugpoint so loaded modules can find LLVM symbols. Other notes: - The linker flag is not added to the device build of opt. No one should be running opt on the device, AFAIK. - Other tools that load modules, such as llc, lli and even clang, would need this linker flag if they were to load modules correctly. Now that we know how to fix the incorrect module loads, they can be fixed if the need arises. - Remove a duplicate from opt's llvm_opt_STATIC_LIBRARIES. All supported tests pass! Cherry pick of https://android-review.googlesource.com/#/c/148017/ from AOSP Change-Id: Ib76507ccfeae37a368718c5a1fb69da337f4f964
/external/llvm/lib/Transforms/Hello/Android.mk
|
34949bb1a6677c6be4d74fab694f09fbd6eb0e95 |
|
04-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM lit test configuration to be able to work for 3.6. Add support for building more host verification tools: + LLVMHello.so (loadable plugin pass) + lli-child-target + llvm-symbolizer (missing some Android.mk magic) + llvm-vtabledump + verify-uselistorder Change-Id: Id7a9397bf458e97fc330ea0301ebb001750aac7c
/external/llvm/lib/Transforms/Hello/Android.mk
|