diff options
author | Ewan Crawford <ewan@codeplay.com> | 2016-03-15 13:02:11 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2016-03-15 13:02:11 +0000 |
commit | fae436326559f3e93944dc4d150fb945dc12097b (patch) | |
tree | e7f502d2c3bfdef2a5c56f96f337f02e7345d46e /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile | |
parent | 6c78974b298d619ec11e243fb6fdea0b16f87a66 (diff) | |
download | bcm5719-llvm-fae436326559f3e93944dc4d150fb945dc12097b.tar.gz bcm5719-llvm-fae436326559f3e93944dc4d150fb945dc12097b.zip |
Add regression test for expressions calling functions taking anonymous struct typedef arguments
This CL adds a regression test for the bug listed at https://llvm.org/bugs/show_bug.cgi?id=26790
Functionality was implemented in commit r263544
Author: Luke Drummond <luke.drummond@codeplay.com>
Differential Revision: http://reviews.llvm.org/D17777
llvm-svn: 263547
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile new file mode 100644 index 00000000000..7df664ac43e --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile @@ -0,0 +1,12 @@ +LEVEL = ../../make + +CXX_SOURCES := main.cpp + +# clang-3.5+ outputs FullDebugInfo by default for Darwin/FreeBSD +# targets. Other targets do not, which causes this test to fail. +# This flag enables FullDebugInfo for all targets. +ifneq (,$(findstring clang,$(CC))) + CFLAGS_EXTRAS += -fno-limit-debug-info +endif + +include $(LEVEL)/Makefile.rules |