From 786c5973f7777dadca85a4be6a312df23b3d3bc6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 24 Feb 2009 02:35:30 +0000 Subject: - 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 --- llvm/test/FrontendC++/2006-11-30-Pubnames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/FrontendC++/2006-11-30-Pubnames.cpp') diff --git a/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp b/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp index 8af99e37c98..b53d6aa734f 100644 --- a/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp +++ b/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp @@ -1,7 +1,7 @@ // This is a regression test on debug info to make sure that we can access // qualified global names. // RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \ -// RUN: llc --disable-fp-elim -o %t.s -f +// RUN: llc --disable-fp-elim -o %t.s -f -fast // RUN: %compile_c %t.s -o %t.o // RUN: %link %t.o -o %t.exe // RUN: %llvmdsymutil %t.exe -- cgit v1.2.3