| #
b85b4e5a |
| 16-Oct-2019 |
Amy Huang <[email protected]> |
Add an instruction marker field to the ExtraInfo in MachineInstrs.
Summary: Add instruction marker to MachineInstr ExtraInfo. This does almost the same thing as Pre/PostInstrSymbols, except that it
Add an instruction marker field to the ExtraInfo in MachineInstrs.
Summary: Add instruction marker to MachineInstr ExtraInfo. This does almost the same thing as Pre/PostInstrSymbols, except that it doesn't create a label until printing instructions. This allows for labels to be put around instructions that are deleted/duplicated somewhere.
Also undo the workaround in r375137.
Reviewers: rnk
Subscribers: MatzeB, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69136
show more ...
|
| #
7bbe711f |
| 19-Oct-2019 |
Reid Kleckner <[email protected]> |
Avoid including CodeView/SymbolRecord.h from MCStreamer.h
Move the types needed out so they can be forward declared instead.
llvm-svn: 375325
|
| #
9d8f0b35 |
| 10-Oct-2019 |
Reid Kleckner <[email protected]> |
[codeview] Try to avoid emitting .cv_loc with line zero
Summary: Visual Studio doesn't like it while stepping. It kicks you out of the source view of the file being stepped through and tries to fall
[codeview] Try to avoid emitting .cv_loc with line zero
Summary: Visual Studio doesn't like it while stepping. It kicks you out of the source view of the file being stepped through and tries to fall back to the disassembly view.
Fixes PR43530
The fix is incomplete, because it's possible to have a basic block with no source locations at all. In this case, we don't emit a .cv_loc, but that will result in wrong stepping behavior in the debugger if the layout predecessor of the location-less BB has an unrelated source location. We could try harder to find a valid location that dominates or post-dominates the current BB, but in general it's a dataflow problem, and one still might not exist. I left a FIXME about this.
As an alternative, we might want to consider having the middle-end check if its emitting codeview and get it to stop using line zero.
Reviewers: akhuang
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68747
llvm-svn: 374267
show more ...
|
|
Revision tags: llvmorg-9.0.0, llvmorg-9.0.0-rc6, llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4, llvmorg-9.0.0-rc3 |
|
| #
7da6f432 |
| 25-Aug-2019 |
Nilanjana Basu <[email protected]> |
Removing block comments from CodeView records in assembly files & related code cleanup
llvm-svn: 369860
|
| #
ac3851c4 |
| 21-Aug-2019 |
Nilanjana Basu <[email protected]> |
Improving CodeView debug info type record's inline comments
llvm-svn: 369533
|
| #
0eaee545 |
| 15-Aug-2019 |
Jonas Devlieghere <[email protected]> |
[llvm] Migrate llvm::make_unique to std::make_unique
Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of
[llvm] Migrate llvm::make_unique to std::make_unique
Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of (hopefully) all the llvm::make_unique instances across the monorepo.
llvm-svn: 369013
show more ...
|
|
Revision tags: llvmorg-9.0.0-rc2 |
|
| #
da60fc81 |
| 05-Aug-2019 |
Nilanjana Basu <[email protected]> |
Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
llvm-svn: 367867
|
| #
b5e4d7de |
| 05-Aug-2019 |
Nilanjana Basu <[email protected]> |
Revert "Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability"
This reverts commit a885afa9fa8cab3b34f1ddf3d21535f88b662881.
llvm-svn: 36
Revert "Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability"
This reverts commit a885afa9fa8cab3b34f1ddf3d21535f88b662881.
llvm-svn: 367861
show more ...
|
| #
a885afa9 |
| 05-Aug-2019 |
Nilanjana Basu <[email protected]> |
Changing representation of .cv_def_range directives in Codeview debug info assembly format for better readability
llvm-svn: 367850
|
| #
5fb56b19 |
| 02-Aug-2019 |
Eric Christopher <[email protected]> |
Temporarily Revert "Changing representation of cv_def_range directives in Codeview debug info assembly format for better readability"
This is breaking bots and the author asked me to revert.
This r
Temporarily Revert "Changing representation of cv_def_range directives in Codeview debug info assembly format for better readability"
This is breaking bots and the author asked me to revert.
This reverts commit 367704.
llvm-svn: 367707
show more ...
|
| #
1c675215 |
| 02-Aug-2019 |
Nilanjana Basu <[email protected]> |
Changing representation of cv_def_range directives in Codeview debug info assembly format for better readability
llvm-svn: 367704
|
| #
5a00b077 |
| 02-Aug-2019 |
Eric Christopher <[email protected]> |
Temporarily revert "Changes to improve CodeView debug info type record inline comments" due to a sanitizer failure.
This reverts commit 367623.
llvm-svn: 367640
|
| #
ac7e5788 |
| 01-Aug-2019 |
Nilanjana Basu <[email protected]> |
Changes to improve CodeView debug info type record inline comments
Signed-off-by: Nilanjana Basu <[email protected]> llvm-svn: 367623
|
|
Revision tags: llvmorg-9.0.0-rc1 |
|
| #
f332fe64 |
| 18-Jul-2019 |
Amy Huang <[email protected]> |
[COFF] Change a variable type to be const in the HeapAllocSite map.
llvm-svn: 366479
|
|
Revision tags: llvmorg-10-init |
|
| #
4e227702 |
| 17-Jul-2019 |
Nilanjana Basu <[email protected]> |
Changes to display code view debug info type records in hex format
llvm-svn: 366390
|
| #
6e407669 |
| 17-Jul-2019 |
Nilanjana Basu <[email protected]> |
Adding inline comments to code view type record directives for better readability
llvm-svn: 366372
|
|
Revision tags: llvmorg-8.0.1, llvmorg-8.0.1-rc4 |
|
| #
faed8516 |
| 09-Jul-2019 |
Nilanjana Basu <[email protected]> |
Changing CodeView debug info type record representation in assembly files to make it more human-readable & editable & fixing bug introduced in r364987
llvm-svn: 365417
|
| #
c0b55774 |
| 03-Jul-2019 |
Nilanjana Basu <[email protected]> |
Revert Changing CodeView debug info type record representation in assembly files to make it more human-readable & editable
This reverts r364982 (git commit 2082bf28ebea76cc187b508f801122866420d9ff)
Revert Changing CodeView debug info type record representation in assembly files to make it more human-readable & editable
This reverts r364982 (git commit 2082bf28ebea76cc187b508f801122866420d9ff)
llvm-svn: 364987
show more ...
|
| #
2082bf28 |
| 03-Jul-2019 |
Nilanjana Basu <[email protected]> |
Changing CodeView debug info type record representation in assembly files to make it more human-readable & editable
llvm-svn: 364982
|
| #
8b7a0baa |
| 01-Jul-2019 |
Nilanjana Basu <[email protected]> |
Testing commit access through minor formatting change
llvm-svn: 364843
|
|
Revision tags: llvmorg-8.0.1-rc3 |
|
| #
7fac5c8d |
| 20-Jun-2019 |
Amy Huang <[email protected]> |
Store a pointer to the return value in a static alloca and let the debugger use that as the variable address for NRVO variables.
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llv
Store a pointer to the return value in a static alloca and let the debugger use that as the variable address for NRVO variables.
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D63361
llvm-svn: 363952
show more ...
|
| #
49275272 |
| 13-Jun-2019 |
Amy Huang <[email protected]> |
Use fully qualified name when printing S_CONSTANT records
Summary: Before it was using the fully qualified name only for static data members. Now it does for all variable names to match MSVC.
Revie
Use fully qualified name when printing S_CONSTANT records
Summary: Before it was using the fully qualified name only for static data members. Now it does for all variable names to match MSVC.
Reviewers: rnk
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63012
llvm-svn: 363335
show more ...
|
|
Revision tags: llvmorg-8.0.1-rc2 |
|
| #
325003be |
| 29-May-2019 |
Amy Huang <[email protected]> |
CodeView - add static data members to global variable debug info.
Summary: Add static data members to IR debug info's list of global variables so that they are emitted as S_CONSTANT records.
Relate
CodeView - add static data members to global variable debug info.
Summary: Add static data members to IR debug info's list of global variables so that they are emitted as S_CONSTANT records.
Related to https://bugs.llvm.org/show_bug.cgi?id=41615.
Reviewers: rnk
Subscribers: aprantl, cfe-commits, llvm-commits, thakis
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D62167
llvm-svn: 362038
show more ...
|
|
Revision tags: llvmorg-8.0.1-rc1 |
|
| #
c2029068 |
| 16-May-2019 |
Amy Huang <[email protected]> |
Emit global variables as S_CONSTANT records for codeview debug info.
Summary: This emits S_CONSTANT records for global variables. Currently this emits records for the global variables already being
Emit global variables as S_CONSTANT records for codeview debug info.
Summary: This emits S_CONSTANT records for global variables. Currently this emits records for the global variables already being tracked in the LLVM IR metadata, which are just constant global variables; we'll also want S_CONSTANTs for static data members and enums.
Related to https://bugs.llvm.org/show_bug.cgi?id=41615
Reviewers: rnk
Subscribers: aprantl, hiraditya, llvm-commits, thakis
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61926
llvm-svn: 360948
show more ...
|
| #
da82ce99 |
| 07-May-2019 |
Fangrui Song <[email protected]> |
[DebugInfo] Delete TypedDINodeRef
TypedDINodeRef<T> is a redundant wrapper of Metadata * that is actually a T *.
Accordingly, change DI{Node,Scope,Type}Ref uses to DI{Node,Scope,Type} * or their co
[DebugInfo] Delete TypedDINodeRef
TypedDINodeRef<T> is a redundant wrapper of Metadata * that is actually a T *.
Accordingly, change DI{Node,Scope,Type}Ref uses to DI{Node,Scope,Type} * or their const variants. This allows us to delete many resolve() calls that clutter the code.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D61369
llvm-svn: 360108
show more ...
|