]> granicus.if.org Git - clang/commit
Use an artificial debug location for non-virtual thunks.
authorAdrian Prantl <aprantl@apple.com>
Wed, 9 Nov 2016 21:43:51 +0000 (21:43 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 9 Nov 2016 21:43:51 +0000 (21:43 +0000)
commit1c1417edc0d2b8b154ca227ab2337c2c25f1fa76
tree2b8f82f497a58bffe70007f08e8dde984caace1e
parent9f59f3f4cc18edb10ff35b33c47c798f1e20ff58
Use an artificial debug location for non-virtual thunks.
Thunks are artificial and have no corresponding source location except for the
line number on the DISubprogram, which is marked as artificial.

<rdar://problem/11941095>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGVTables.cpp
test/CodeGenCXX/debug-info-thunk.cpp
test/CodeGenCXX/debug-info-windows-dtor.cpp