aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorMuhammad Omair Javaid <omair.javaid@linaro.org>2022-06-07 12:09:13 +0400
committerMuhammad Omair Javaid <omair.javaid@linaro.org>2022-06-07 12:41:29 +0400
commite4ed7ca996ba5bb1be7b877c4c53ef2a5fb534f5 (patch)
tree33fd574cc03bf71471e7457a562cc867fed146c8 /lldb/packages/Python/lldbsuite
parentecd7ff53b53368d84767ceeda6b238ef467b4625 (diff)
downloadllvm-e4ed7ca996ba5bb1be7b877c4c53ef2a5fb534f5.zip
llvm-e4ed7ca996ba5bb1be7b877c4c53ef2a5fb534f5.tar.gz
llvm-e4ed7ca996ba5bb1be7b877c4c53ef2a5fb534f5.tar.bz2
[LLDB] Avoid using -fno-builtin for building API tests
This patch removes use of -fno-builtin flag for building LLDB API tests. LLDB API tests are built using Makefile.rules where we were using -fno-builtin flag to avoid gcc intrinsic optimization conflicting with Android runtime in past. Now that we no longer use gcc for building testsuite and compiling LLDB API tests on AArch64/Windows require clang to optimize certain calls like _setjmp to setjmpex as former is not implemented by AArch64 windows runtime.
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index 6917d73..9023128 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -214,7 +214,7 @@ endif
DEBUG_INFO_FLAG ?= -g
-CFLAGS ?= $(DEBUG_INFO_FLAG) -O0 -fno-builtin
+CFLAGS ?= $(DEBUG_INFO_FLAG) -O0
ifeq "$(OS)" "Darwin"
ifneq "$(SDKROOT)" ""