AbortedChanges

Summary

  1. Fix debuginfo-tests with GDB on Linux Summary: 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. Reviewers: aprantl, dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D37344
Revision 312265 by rnk:
Fix debuginfo-tests with GDB on Linux

Summary:
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.

Reviewers: aprantl, dblaikie

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D37344
Change TypePath in RepositoryPath in Workspace
The file was added/debuginfo-tests/trunk/asan-blocks.cdebuginfo-tests.src/asan-blocks.c
The file was modified/debuginfo-tests/trunk/asan.cdebuginfo-tests.src/asan.c
The file was modified/debuginfo-tests/trunk/dbg-arg.cdebuginfo-tests.src/dbg-arg.c
The file was modified/debuginfo-tests/trunk/safestack.cdebuginfo-tests.src/safestack.c
The file was modified/debuginfo-tests/trunk/stack-var.cdebuginfo-tests.src/stack-var.c