Timur Iskhodzhanov
fc0d323d01
Temporary fix for PR21528 - use mangled C++ function names in COFF debug info to un-break ASan on Windows
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221813 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-12 20:21:20 +00:00
Timur Iskhodzhanov
629ba0ac0d
[COFF] Make it clearer that the symbols subsection holds function display name rather than just name
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221812 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-12 20:10:09 +00:00
Timur Iskhodzhanov
92e132a36f
Fix PR21189 -- Emit symbol subsection required to debug LLVM-built binaries with VS2012+
...
Reviewed at http://reviews.llvm.org/D5772
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220544 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-24 01:27:45 +00:00
Timur Iskhodzhanov
17dbd06faf
Reorder functions in WinCodeViewLineTables.cpp [NFC]
...
This helps read the comments and understand the code in a natural order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219508 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-10 16:05:32 +00:00
Timur Iskhodzhanov
a560067ac9
Fix a small typo, NFC
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219492 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-10 12:52:58 +00:00
Timur Iskhodzhanov
0a5843e3b1
Fix COFF section index relocation should be 16 bits, not 32
...
Original patch by Andrey Guskov!
http://reviews.llvm.org/D5651
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219327 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-08 18:01:49 +00:00
Yaron Keren
ed4e8a839f
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211350 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-20 10:26:56 +00:00
Alexey Samsonov
846781235d
Convert more loops to range-based equivalents
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207714 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30 22:17:38 +00:00
Craig Topper
c34a25d59d
[C++] Use 'nullptr'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207394 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-28 04:05:08 +00:00
Craig Topper
e703fcb975
[C++] Use 'nullptr'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207083 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-24 06:44:33 +00:00
Timur Iskhodzhanov
2b84dba718
Follow-up to r204790: don't try to emit line tables if there are no functions with DI in the TU
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204795 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-26 11:24:36 +00:00
Timur Iskhodzhanov
d4c442f12a
Fix PR19239 - Add support for generating debug info for functions without lexical scopes and/or debug info at all
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204790 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-26 09:50:36 +00:00
Timur Iskhodzhanov
ab42578bdd
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200440 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-30 01:39:17 +00:00
NAKAMURA Takumi
52de969206
Revert r200340, "Add line table debug info to COFF files when using a win32 triple."
...
It was incompatible with --target=i686-win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200375 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-29 06:05:38 +00:00
Timur Iskhodzhanov
38afdbea2c
Add line table debug info to COFF files when using a win32 triple.
...
Reviewed at http://llvm-reviews.chandlerc.com/D2232
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200340 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-28 21:33:27 +00:00