Duncan P. N. Exon Smith
b3a66691f8
IR: Make metadata typeless in assembly, clang side
...
Match LLVM changes from r224257.
llvm-svn: 224259
2014-12-15 19:10:08 +00:00
David Blaikie
09f12fa1ca
DebugInfo: More accurate line information for placement new.
...
This actually came up as a break in UBSan tests (look for a follow-up
commit to this one to see the UBSan test fallout) when I tried a broader
fix to location information.
I have some other ideas about how to do that broader change & will keep
looking into it.
llvm-svn: 224221
2014-12-14 18:48:18 +00:00
David Blaikie
80b279e624
Make test case 32/64 bit neutral
...
llvm-svn: 223938
2014-12-10 19:19:24 +00:00
David Blaikie
a2c1124f9c
DebugInfo: Location information for scalar new expressions
...
llvm-svn: 223937
2014-12-10 19:04:09 +00:00
David Blaikie
7c5da41c70
DebugInfo: Correct location information for array accesses to elements of variable array type.
...
llvm-svn: 223902
2014-12-10 01:34:25 +00:00
David Blaikie
d85548d423
DebugInfo: Fix another case of array access line information
...
llvm-svn: 223897
2014-12-10 01:16:09 +00:00
David Blaikie
f0aceb2f69
DebugInfo: Correct the location of array accesses
...
Especially relevant to ASan when dealing with complex expressions
containing multiple array accesses. See PR21737.
llvm-svn: 223872
2014-12-10 01:03:48 +00:00
Reid Kleckner
60e54da723
Tweak test case from r223842 to make it pass on Windows MSVC
...
We can't mangle __complex yet, and there is no C1 emission.
llvm-svn: 223870
2014-12-10 00:47:33 +00:00
David Blaikie
d73f3c6b73
DebugInfo: Correct location of aggregate assignment
...
llvm-svn: 223854
2014-12-09 23:33:26 +00:00
David Blaikie
00de22f963
DebugInfo: Correct location of initialization of auto __complex
...
llvm-svn: 223842
2014-12-09 22:15:02 +00:00
David Blaikie
7f138811cd
DebugInfo: Correct the location of initializations of auto.
...
llvm-svn: 223839
2014-12-09 22:04:13 +00:00
David Blaikie
93e9cf8aa4
DebugInfo: Correct location for compound complex assignment
...
llvm-svn: 223835
2014-12-09 21:32:00 +00:00
David Blaikie
8ec8dfecd1
DebugInfo: Accurate location information for complex assignment
...
llvm-svn: 223828
2014-12-09 21:10:43 +00:00
David Blaikie
538deffd2d
DebugInfo: Emit the correct location for initialization of a complex variable
...
Especially useful for sanitizer reports.
llvm-svn: 223825
2014-12-09 20:52:24 +00:00
David Blaikie
73ca56942d
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.
llvm-svn: 223726
2014-12-09 00:32:22 +00:00
David Blaikie
0b7fad656b
DebugInfo: Ensure the store for an assignment is attributed to the beginning of the assignment expression
...
llvm-svn: 223699
2014-12-08 21:48:57 +00:00