aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-08 22:43:03 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-08 22:43:03 +0000
commit5992a72b4d21f3ea15a0ecbb593d92c9bc4fe1a0 (patch)
treee369ac2ee392142837ebf0b460286e0fe2bdda0a /llvm/lib/CodeGen/MachineFunction.cpp
parentb24f4fb6171eaf2caa8f3cf6adcf11821ec1d27c (diff)
downloadllvm-5992a72b4d21f3ea15a0ecbb593d92c9bc4fe1a0.zip
llvm-5992a72b4d21f3ea15a0ecbb593d92c9bc4fe1a0.tar.gz
llvm-5992a72b4d21f3ea15a0ecbb593d92c9bc4fe1a0.tar.bz2
Support the Nodebug emission kind for DICompileUnits.
Sample-based profiling and optimization remarks currently remove DICompileUnits from llvm.dbg.cu to suppress the emission of debug info from them. This is somewhat of a hack and only borderline legal IR. This patch uses the recently introduced NoDebug emission kind in DICompileUnit to achieve the same result without breaking the Verifier. A nice side-effect of this change is that it is now possible to combine NoDebug and regular compile units under LTO. http://reviews.llvm.org/D18808 <rdar://problem/25427165> llvm-svn: 265861
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions