Timur Iskhodzhanov
3a769074f4
Temporary fix for PR21528 - use mangled C++ function names in COFF debug info to un-break ASan on Windows
...
llvm-svn: 221813
2014-11-12 20:21:20 +00:00
Timur Iskhodzhanov
30b699e1ad
[COFF] Make it clearer that the symbols subsection holds function display name rather than just name
...
llvm-svn: 221812
2014-11-12 20:10:09 +00:00
Timur Iskhodzhanov
04c11d578f
Fix PR21189 -- Emit symbol subsection required to debug LLVM-built binaries with VS2012+
...
Reviewed at http://reviews.llvm.org/D5772
llvm-svn: 220544
2014-10-24 01:27:45 +00:00
Timur Iskhodzhanov
c1bf6e5e98
Reorder functions in WinCodeViewLineTables.cpp [NFC]
...
This helps read the comments and understand the code in a natural order
llvm-svn: 219508
2014-10-10 16:05:32 +00:00
Timur Iskhodzhanov
6a73d5beb3
Fix a small typo, NFC
...
llvm-svn: 219492
2014-10-10 12:52:58 +00:00
Timur Iskhodzhanov
7661ce203f
Fix COFF section index relocation should be 16 bits, not 32
...
Original patch by Andrey Guskov!
http://reviews.llvm.org/D5651
llvm-svn: 219327
2014-10-08 18:01:49 +00:00
Yaron Keren
e1172cbc66
The count() function for STL datatypes returns unsigned, even where it's
...
only 1/0 result like std::set. Some of the LLVM ADT already return unsigned
count(), while others still return bool count().
In continuation to r197879, this patch modifies DenseMap, DenseSet,
ScopedHashTable, ValueMap:: count() to return size_type instead of bool,
1 instead of true and 0 instead of false.
size_type is typedef-ed locally within each class to size_t.
http://reviews.llvm.org/D4018
Reviewed by dblaikie.
llvm-svn: 211350
2014-06-20 10:26:56 +00:00
Alexey Samsonov
8f5245ce6b
Convert more loops to range-based equivalents
...
llvm-svn: 207714
2014-04-30 22:17:38 +00:00
Craig Topper
b663bffa27
[C++] Use 'nullptr'.
...
llvm-svn: 207394
2014-04-28 04:05:08 +00:00
Craig Topper
c7c3a99ec2
[C++] Use 'nullptr'.
...
llvm-svn: 207083
2014-04-24 06:44:33 +00:00
Timur Iskhodzhanov
464e932215
Follow-up to r204790: don't try to emit line tables if there are no functions with DI in the TU
...
llvm-svn: 204795
2014-03-26 11:24:36 +00:00
Timur Iskhodzhanov
c72b9dd73a
Fix PR19239 - Add support for generating debug info for functions without lexical scopes and/or debug info at all
...
llvm-svn: 204790
2014-03-26 09:50:36 +00:00
Timur Iskhodzhanov
2cf4619945
Reland r200340 - 'Add line table debug info to COFF files when using a win32 triple'
...
This incorporates a couple of fixes reviewed at http://llvm-reviews.chandlerc.com/D2651
llvm-svn: 200440
2014-01-30 01:39:17 +00:00
NAKAMURA Takumi
782750fa03
Revert r200340, "Add line table debug info to COFF files when using a win32 triple."
...
It was incompatible with --target=i686-win32.
llvm-svn: 200375
2014-01-29 06:05:38 +00:00
Timur Iskhodzhanov
53b4a3ded1
Add line table debug info to COFF files when using a win32 triple.
...
Reviewed at http://llvm-reviews.chandlerc.com/D2232
llvm-svn: 200340
2014-01-28 21:33:27 +00:00