diff options
author | Siva Chandra <sivachandra@google.com> | 2015-12-16 00:22:08 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-12-16 00:22:08 +0000 |
commit | d8335e9ab419fd75c34acf8d44f234b92df7b8b0 (patch) | |
tree | e95e105a7d0b93f9af2585ada43f3ac29eb3b312 /lldb/packages/Python/lldbsuite/test/make | |
parent | d8f719fa1cab1c99e58c080ea19b9d7043163749 (diff) | |
download | bcm5719-llvm-d8335e9ab419fd75c34acf8d44f234b92df7b8b0.tar.gz bcm5719-llvm-d8335e9ab419fd75c34acf8d44f234b92df7b8b0.zip |
Read macro info from .debug_macro section and use it for expression evaluation.
Summary:
DWARF 5 proposes a reinvented .debug_macro section. This change follows
that spec.
Currently, only GCC produces the .debug_macro section and hence
the added test is annottated with expectedFailureClang.
Reviewers: spyffe, clayborg, tberghammer
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D15437
llvm-svn: 255729
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/make')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/make/Makefile.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules index 1db17fbf151..e47cfaab996 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules @@ -182,7 +182,9 @@ ifneq (,$(findstring clang,$(CC))) LIMIT_DEBUG_INFO_FLAGS += -flimit-debug-info endif -CFLAGS ?= -g -O0 -fno-builtin +DEBUG_INFO_FLAG ?= -g + +CFLAGS ?= $(DEBUG_INFO_FLAG) -O0 -fno-builtin ifeq "$(OS)" "Darwin" CFLAGS += $(ARCHFLAG) $(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS) -I$(LLDB_BASE_DIR)include else |