]> granicus.if.org Git - clang/commit
DebugInfo: Correctly identify the location of C++ member initializer list elements
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 9 Dec 2014 00:32:22 +0000 (00:32 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 9 Dec 2014 00:32:22 +0000 (00:32 +0000)
commitbc87555de3644016b6312755c73a86db1a5ece1d
tree199e00f2cacbdf4ab2927b27fdaca2a4b3ab5846
parent8373290b6c0d28c92f850190c35bc250c5194197
DebugInfo: Correctly identify the location of C++ member initializer list elements

This particularly helps the fidelity of ASan reports (which can occur
even in these examples - if, for example, one uses placement new over a
buffer of insufficient size - now ASan will correctly identify which
member's initialization went over the end of the buffer).

This doesn't cover all types of members - more coming.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223726 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/debug-info-line.cpp