summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-07-18 00:28:02 +0000
committerAdrian Prantl <aprantl@apple.com>2013-07-18 00:28:02 +0000
commited6bbe4ab8d06cd09fdfd294e2b2f8ab3808f84a (patch)
tree8db8fc19903235882c5fe541046566b22ac00349 /lib/CodeGen/CGExprAgg.cpp
parent18a0cd5ef787db1b6849b962f67a5a8ed3c49be3 (diff)
downloadclang-ed6bbe4ab8d06cd09fdfd294e2b2f8ab3808f84a.tar.gz
clang-ed6bbe4ab8d06cd09fdfd294e2b2f8ab3808f84a.tar.bz2
clang-ed6bbe4ab8d06cd09fdfd294e2b2f8ab3808f84a.tar.xz
Replace llvm::DIBuilder::DisableDebugLocations() with two RAII interfaces
inspired by CodegenFunction::LexicalScope. - NoLocation temporarily turns off debug locations altogether. This is useful for emitting instructions that should be counted towards the function prologue. - BuiltinLocation temporarily switches to an artificial debug location that has a valid scope, but no line information. This is useful when emitting compiler-generated helper functions that have no source location associated with them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions