diff options
| author | Adrian Prantl <aprantl@apple.com> | 2013-07-18 00:28:02 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2013-07-18 00:28:02 +0000 |
| commit | 2e0637ff63213e1b6b81271ba2a8c94819b9ac0c (patch) | |
| tree | d7dde49eb3d3dad0aa8cb7d6b2f6aca7e867ae92 /clang/test/CodeGenObjC | |
| parent | 02c0caa198a1981fcf31bb21e602703ff8875aed (diff) | |
| download | bcm5719-llvm-2e0637ff63213e1b6b81271ba2a8c94819b9ac0c.tar.gz bcm5719-llvm-2e0637ff63213e1b6b81271ba2a8c94819b9ac0c.zip | |
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.
llvm-svn: 186552
Diffstat (limited to 'clang/test/CodeGenObjC')
0 files changed, 0 insertions, 0 deletions

