aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-03-09 21:12:06 +0000
committerTim Northover <tnorthover@apple.com>2017-03-09 21:12:06 +0000
commit7a9ea8f628f863c2cde41e63be45a2e47fbd95ef (patch)
tree352006c08d3894ee9c6e38b6a68d3710c6cc3831 /clang/lib/Frontend/CompilerInvocation.cpp
parent7e56366204287a513420a2633daa1f92b009f4bf (diff)
downloadllvm-7a9ea8f628f863c2cde41e63be45a2e47fbd95ef.zip
llvm-7a9ea8f628f863c2cde41e63be45a2e47fbd95ef.tar.gz
llvm-7a9ea8f628f863c2cde41e63be45a2e47fbd95ef.tar.bz2
GlobalISel: put debug info for static allocas in the MachineFunction.
The good reason to do this is that static allocas are pretty simple to handle (especially at -O0) and avoiding tracking DBG_VALUEs throughout the pipeline should give some kind of performance benefit. The bad reason is that the debug pipeline is an unholy mess of implicit contracts, where determining whether "DBG_VALUE %reg, imm" actually implies a load or not involves the services of at least 3 soothsayers and the sacrifice of at least one chicken. And it still gets it wrong if the variable is at SP directly. llvm-svn: 297410
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions