| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h.
The reasoning is because the DebugInfo module is simply an interface to the
debug info MDNodes and has nothing to do with analysis.
llvm-svn: 159312
|
|
|
|
| |
llvm-svn: 159239
|
|
|
|
|
|
|
|
|
| |
It's not necessary for each DI class to have its own copy of `print' and
`dump'. Instead, just give DIDescriptor those methods and have it call the
appropriate debugging printing routine based on the type of the debug
information.
llvm-svn: 159237
|
|
|
|
|
|
|
|
| |
to generate out of the front end.
rdar://11479676
llvm-svn: 157094
|
|
|
|
|
|
|
|
|
|
| |
brace) so that we get more accurate line number information about the
declaration of a given function and the line where the function
first starts.
Part of rdar://11026482
llvm-svn: 153916
|
|
|
|
| |
llvm-svn: 153691
|
|
|
|
|
|
|
|
|
|
| |
http://llvm.org/docs/SourceLevelDebugging.html#objcproperty
including type and DECL. Expand the metadata needed accordingly.
rdar://11144023
llvm-svn: 153639
|
|
|
|
|
|
|
|
| |
Patch by Clemens Hammacher!
Fixes PR12243
llvm-svn: 152880
|
|
|
|
|
|
| |
derived from anything.
llvm-svn: 150975
|
|
|
|
|
|
| |
too.
llvm-svn: 150974
|
|
|
|
| |
llvm-svn: 150022
|
|
|
|
| |
llvm-svn: 149967
|
|
|
|
|
|
| |
an ivar.
llvm-svn: 149874
|
|
|
|
| |
llvm-svn: 149732
|
|
|
|
|
|
|
|
| |
the comment.
Fixes constvars.exp on the gdb test builder.
llvm-svn: 147897
|
|
|
|
|
|
| |
http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146960
|
|
|
|
|
|
|
|
|
| |
pointer or a reference type - we actually just want the size of the
pointer then for that.
Fixes rdar://10335756
llvm-svn: 146785
|
|
|
|
| |
llvm-svn: 142295
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file. Since it should only be used when necessary propagate it through
the backend code generation and tweak testcases accordingly.
This helps with code like in clang's test/CodeGen/debug-info-line.c where
we have multiple #line directives within a single lexical block and want
to generate only a single block that contains each file change.
Part of rdar://10246360
llvm-svn: 141729
|
|
|
|
| |
llvm-svn: 139751
|
|
|
|
|
|
| |
Update DebugInfoFinder to collect compile units from llvm.dbg.cu.
llvm-svn: 139147
|
|
|
|
|
|
|
|
| |
verifier accordingly.
This fixes ptype.exp gdb testsuite regressions.
llvm-svn: 138869
|
|
|
|
|
|
| |
This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly.
llvm-svn: 138145
|
|
|
|
|
|
|
|
| |
This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL.
MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up.
llvm-svn: 137778
|
|
|
|
|
|
| |
create new global variable.
llvm-svn: 137621
|
|
|
|
| |
llvm-svn: 137253
|
|
|
|
| |
llvm-svn: 137095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
inlined variable, based on the discussion in PR10542.
This explodes the runtime of several passes down the pipeline due to
a large number of "copies" remaining live across a large function. This
only shows up with both debug and opt, but when it does it creates
a many-minute compile when self-hosting LLVM+Clang. There are several
other cases that show these types of regressions.
All of this is tracked in PR10542, and progress is being made on fixing
the issue. Once its addressed, the re-instated, but until then this
restores the performance for self-hosting and other opt+debug builds.
Devang, let me know if this causes any trouble, or impedes fixing it in
any way, and thanks for working on this!
llvm-svn: 136953
|
|
|
|
|
|
| |
information is embedded in MDNode describing the variable. It is also available as a part of DebugLoc attached with DBG_VALUE instruction. DebugLoc attached with an instruction is less reliable in optimized code so use information embedded in the MDNode.
llvm-svn: 135629
|
|
|
|
| |
llvm-svn: 135528
|
|
|
|
|
|
| |
yesterday.
llvm-svn: 135504
|
|
|
|
|
|
|
|
| |
enable dwarf writer to easily distinguish between two instances of a inlined variable in one basic block."
This reverts commit 9fec5e346efdf744b151ae6604f912908315fa7a.
llvm-svn: 135486
|
|
|
|
|
|
| |
dwarf writer to easily distinguish between two instances of a inlined variable in one basic block.
llvm-svn: 135457
|
|
|
|
| |
llvm-svn: 133351
|
|
|
|
| |
llvm-svn: 126871
|
|
|
|
| |
llvm-svn: 125571
|
|
|
|
| |
llvm-svn: 125567
|
|
|
|
| |
llvm-svn: 124759
|
|
|
|
| |
llvm-svn: 124755
|
|
|
|
| |
llvm-svn: 124752
|
|
|
|
| |
llvm-svn: 121279
|
|
|
|
| |
llvm-svn: 121224
|
|
|
|
|
|
| |
This is still work in progress.
llvm-svn: 121205
|
|
|
|
| |
llvm-svn: 120856
|
|
|
|
| |
llvm-svn: 120853
|
|
|
|
|
|
|
|
| |
function specific local variable's info.
This fixes radar 8653152. I am checking in testcase as a separate check-in.
llvm-svn: 118726
|
|
|
|
| |
llvm-svn: 118054
|
|
|
|
| |
llvm-svn: 115833
|
|
|
|
| |
llvm-svn: 115102
|
|
|
|
|
|
|
|
| |
boolean for isArtificial.
This is a backword compatible change.
llvm-svn: 115084
|