commit | 387a922cc49e48dd43251fdc4c61a4944c4f93c2 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Nov 28 14:51:29 2016 -0800 |
committer | Dan Albert <danalbert@google.com> | Tue Nov 29 19:40:14 2016 +0000 |
tree | faa521ebf7ccef12d8ec033a1f9cd8e9a3c94ee6 | |
parent | 0aadd8ffdadaa372c2dd1fd79c13af7ff71f0bde [diff] |
Disgusting hack: LLVMgold.dylib -> LLVMgold.so. Yes, Darwin binaries should be .dylib, but the original LTO code that was submitted to LLVM apparently didn't know that so it `dlopen`s the .so even on Darwin and Windows. LTO on Darwin somewhat works (works for shared libraries, anyway) if we just rename it, so do that until we can fix LLVM correctly. Test: ndk/run_tests.py --filter flto Bug: https://github.com/android-ndk/ndk/issues/108 Change-Id: I01dc60da6431e9730dec352f80c04563fbe5e8d2 (cherry picked from commit 5b36292c9f1fe9ae37c38d158d94526f0d88486d)
diff --git a/clang-3362437/lib64/LLVMgold.dylib b/clang-3362437/lib64/LLVMgold.so similarity index 100% rename from clang-3362437/lib64/LLVMgold.dylib rename to clang-3362437/lib64/LLVMgold.so Binary files differ