History log of /llvm-project/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (Results 126 – 150 of 409)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9d8f0b35 10-Oct-2019 Reid Kleckner <rnk@google.com>

[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 <nilanjana.basu87@gmail.com>

Removing block comments from CodeView records in assembly files & related code cleanup

llvm-svn: 369860


# ac3851c4 21-Aug-2019 Nilanjana Basu <nilanjana.basu87@gmail.com>

Improving CodeView debug info type record's inline comments

llvm-svn: 369533


# 0eaee545 15-Aug-2019 Jonas Devlieghere <jonas@devlieghere.com>

[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 <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <echristo@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <echristo@gmail.com>

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 <nilanjana.basu87@gmail.com>

Changes to improve CodeView debug info type record inline comments

Signed-off-by: Nilanjana Basu <nilanjana.basu87@gmail.com>
llvm-svn: 367623


Revision tags: llvmorg-9.0.0-rc1
# f332fe64 18-Jul-2019 Amy Huang <akhuang@google.com>

[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 <nilanjana.basu87@gmail.com>

Changes to display code view debug info type records in hex format

llvm-svn: 366390


# 6e407669 17-Jul-2019 Nilanjana Basu <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

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 <nilanjana.basu87@gmail.com>

Testing commit access through minor formatting change

llvm-svn: 364843


Revision tags: llvmorg-8.0.1-rc3
# 7fac5c8d 20-Jun-2019 Amy Huang <akhuang@google.com>

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 <akhuang@google.com>

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 <akhuang@google.com>

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 <akhuang@google.com>

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 <maskray@google.com>

[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 ...


# 987b969b 06-May-2019 Amy Huang <akhuang@google.com>

Fix bug in getCompleteTypeIndex in codeview debug info

Summary:
When there are multiple instances of a forward decl record type, only the first one is emitted with a type index, because
the type is

Fix bug in getCompleteTypeIndex in codeview debug info

Summary:
When there are multiple instances of a forward decl record type, only the first one is emitted with a type index, because
the type is added to a map with a null type index. Avoid this by reordering so that forward decl types aren't added to the map.

Reviewers: rnk

Subscribers: aprantl, hiraditya, arphaman, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61460

llvm-svn: 360101

show more ...


# 68c91994 24-Apr-2019 Amy Huang <akhuang@google.com>

Recommitting r358783 and r358786 "[MS] Emit S_HEAPALLOCSITE debug info" with fixes for buildbot error (undefined assembler label).

Summary:
This emits labels around heapallocsite calls and S_HEAPALL

Recommitting r358783 and r358786 "[MS] Emit S_HEAPALLOCSITE debug info" with fixes for buildbot error (undefined assembler label).

Summary:
This emits labels around heapallocsite calls and S_HEAPALLOCSITE debug
info in codeview. Currently only changes FastISel, so emitting labels still
needs to be implemented in SelectionDAG.

Reviewers: rnk

Subscribers: aprantl, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61083

llvm-svn: 359149

show more ...


12345678910>>...17