aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-01-05 16:58:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-05 16:58:44 +0000
commitae3219b66f0195f920947d7aa36c49515f93a208 (patch)
tree31f49b17aa921ad764bbfa224f684a0f89c9075a
parent4272ef46d3825b6f6b275cd041876db0fb173518 (diff)
parent1be856302d996cbccf76d19bb651347dc2c8d04b (diff)
downloadexternal_llvm-ae3219b66f0195f920947d7aa36c49515f93a208.zip
external_llvm-ae3219b66f0195f920947d7aa36c49515f93a208.tar.gz
external_llvm-ae3219b66f0195f920947d7aa36c49515f93a208.tar.bz2
am 1be85630: Merge "Add -fno-inline to LLVM device flags."
* commit '1be856302d996cbccf76d19bb651347dc2c8d04b': Add -fno-inline to LLVM device flags.
-rw-r--r--llvm-device-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index 5d863f5..acdb0a8 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -16,6 +16,10 @@ LOCAL_CFLAGS := \
-Dsprintf=sprintf \
$(LOCAL_CFLAGS)
+# ARM64 builds seem to miscompile libLLVM without fno-inline.
+# Test and eventually remove after a future rebase.
+LOCAL_CFLAGS_arm64 := -fno-inline
+
# The three inline options together reduce libbcc.so almost 1MB.
# We move them from global build/core/combo/TARGET_linux-arm.mk
# to here.