diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-24 02:35:30 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-24 02:35:30 +0000 |
commit | 786c5973f7777dadca85a4be6a312df23b3d3bc6 (patch) | |
tree | d0b50012bb724093a38360b963a9e48b3a5c2772 /llvm/test/FrontendC++/2006-11-06-StackTrace.cpp | |
parent | cce27f55023428423dbb8ef2ffa64d8140d0bcca (diff) | |
download | bcm5719-llvm-786c5973f7777dadca85a4be6a312df23b3d3bc6.tar.gz bcm5719-llvm-786c5973f7777dadca85a4be6a312df23b3d3bc6.zip |
- Use the "Fast" flag instead of "OptimizeForSize" to determine whether to emit
a DBG_LABEL or not. We want to fall back to the original way of emitting debug
info when we're in -O0/-fast mode.
- Add plumbing in to pass the "Fast" flag to places that need it.
- XFAIL DebugInfo/deaddebuglabel.ll. This is finding 11 labels instead of 8. I
need to investigate still.
llvm-svn: 65367
Diffstat (limited to 'llvm/test/FrontendC++/2006-11-06-StackTrace.cpp')
-rw-r--r-- | llvm/test/FrontendC++/2006-11-06-StackTrace.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp b/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp index 55b34ad82d5..15c88df0d15 100644 --- a/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp +++ b/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp @@ -1,6 +1,7 @@ // This is a regression test on debug info to make sure that we can get a // meaningful stack trace from a C++ program. -// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc --disable-fp-elim -o %t.s -f +// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \ +// RUN: llc --disable-fp-elim -o %t.s -f -fast -relocation-model=pic // RUN: %compile_c %t.s -o %t.o // RUN: %link %t.o -o %t.exe // RUN: echo {break DeepStack::deepest\nrun 17\nwhere\n} > %t.in |