[PATCH] D37344: Fix debuginfo-tests with GDB on Linux
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 11:04:46 PDT 2017
rnk created this revision.
Split asan.c into asan.c and asan-blocks.c, which will be
darwin-specific. I suspect we could make it pass on Linux by adding
cmake to build BlocksRuntime from compiler-rt, but I'm not shaving that
yak yet.
asan.c and safestack.c: GDB and LLDB appear to print aggregates
differently today. Print individual elements instead of the entire
aggregate.
dbg-arg.c: GDB doesn't appear to print leading zeros when printing
pointers.
stack-var.c: Add the optnone attribute so that LLVM won't optimize away
this no-op function call. This should be a cross-platform failure
observable on Mac, so this is surprising.
https://reviews.llvm.org/D37344
Files:
debuginfo-tests/asan-blocks.c
debuginfo-tests/asan.c
debuginfo-tests/dbg-arg.c
debuginfo-tests/safestack.c
debuginfo-tests/stack-var.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37344.113436.patch
Type: text/x-patch
Size: 5189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170831/179d3d08/attachment.bin>
More information about the llvm-commits
mailing list