- Use the "Fast" flag instead of "OptimizeForSize" to determine whether to emit
authorBill Wendling <isanbard@gmail.com>
Tue, 24 Feb 2009 02:35:30 +0000 (02:35 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 24 Feb 2009 02:35:30 +0000 (02:35 +0000)
commit5aa4977fba97e816b5735f0bc53f16a46b24de63
tree1b23bafb8563e60c19119dddc0aa335b2e32e9f1
parent85937de26b7553768abe958ee51b1cc19417b950
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65367 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/DwarfWriter.h
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/DebugInfo/2009-01-30-Method.ll
test/DebugInfo/deaddebuglabel.ll
test/DebugInfo/forwardDecl.ll
test/FrontendC++/2006-11-06-StackTrace.cpp
test/FrontendC++/2006-11-30-Pubnames.cpp
utils/TableGen/AsmWriterEmitter.cpp