| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch forbids implicit conversion of DenseMap::const_iterator to
DenseMap::iterator which was possible because DenseMapIterator inherited
(publicly) from DenseMapConstIterator. Conversion the other way around is now
allowed as one may expect.
The template DenseMapConstIterator is removed and the template parameter
IsConst which specifies whether the iterator is constant is added to
DenseMapIterator.
Actually IsConst parameter is not necessary since the constness can be
determined from KeyT but this is not relevant to the fix and can be addressed
later.
Patch by Victor Zverovich!
llvm-svn: 86636
|
| |
|
|
| |
llvm-svn: 86295
|
| |
|
|
| |
llvm-svn: 86259
|
| |
|
|
| |
llvm-svn: 86212
|
| |
|
|
| |
llvm-svn: 86199
|
| |
|
|
|
|
| |
problems with name collisions.
llvm-svn: 86189
|
| |
|
|
|
|
|
|
| |
variants encoded as DIDerivedType appropriately.
This improves bitfield support.
llvm-svn: 86073
|
| |
|
|
|
|
| |
annonymous field that covers respective field.
llvm-svn: 86054
|
| |
|
|
| |
llvm-svn: 86043
|
| |
|
|
|
|
|
|
| |
The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output.
With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF.
llvm-svn: 86041
|
| |
|
|
| |
llvm-svn: 85909
|
| |
|
|
|
|
| |
warning from gcc by removing VISIBILITY_HIDDEN attributes.
llvm-svn: 85873
|
| |
|
|
| |
llvm-svn: 85684
|
| |
|
|
| |
llvm-svn: 85562
|
| |
|
|
| |
llvm-svn: 85559
|
| |
|
|
| |
llvm-svn: 85558
|
| |
|
|
| |
llvm-svn: 85556
|
| |
|
|
|
|
|
|
| |
cause the map to grow rending the slot invalid.
Use this opportunity to use ValueMap instead of DenseMap.
llvm-svn: 85298
|
| |
|
|
|
|
| |
VISIBILITY_HIDDEN removal.
llvm-svn: 85043
|
| |
|
|
|
|
|
| |
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042
|
| |
|
|
| |
llvm-svn: 84894
|
| |
|
|
| |
llvm-svn: 84276
|
| |
|
|
|
|
| |
encoded in debug info then create such scope on demand for variable info.
llvm-svn: 84262
|
| |
|
|
| |
llvm-svn: 84134
|
| |
|
|
|
|
| |
s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g
llvm-svn: 84054
|
| |
|
|
| |
llvm-svn: 83950
|
| |
|
|
| |
llvm-svn: 83922
|
| |
|
|
|
|
|
|
| |
alloca or llvm.dbg.declare location.
While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself.
llvm-svn: 83684
|
| |
|
|
|
|
| |
optimized away. Eventually DwarfChecker will clean this up during llvm verification stage.
llvm-svn: 83655
|
| |
|
|
|
|
| |
has arguments. Extra line number entries trip gdb in some cases.
llvm-svn: 83563
|
| |
|
|
|
|
| |
This is not yet enabled.
llvm-svn: 83400
|
| |
|
|
|
|
|
|
|
|
| |
verbose-asm mode, print comments instead. This eliminates a non-comment
difference between verbose-asm mode and non-verbose-asm mode.
Also, factor out the relevant code out of all the targets and into
target-independent code.
llvm-svn: 83392
|
| |
|
|
| |
llvm-svn: 83367
|
| |
|
|
|
|
| |
and after printing an instruction.
llvm-svn: 83363
|
| |
|
|
| |
llvm-svn: 83362
|
| |
|
|
|
|
| |
This will be used by processDebugLoc().
llvm-svn: 83361
|
| |
|
|
| |
llvm-svn: 83356
|
| |
|
|
| |
llvm-svn: 83355
|
| |
|
|
|
|
| |
check debug info's presence in a module.
llvm-svn: 83348
|
| |
|
|
|
|
| |
This can happen if debug info is processed lazily.
llvm-svn: 83347
|
| |
|
|
|
|
|
| |
void foo() { static int bar = 42; }
Here, foo's DIE is parent of bar's DIE.
llvm-svn: 83344
|
| |
|
|
| |
llvm-svn: 83343
|
| |
|
|
| |
llvm-svn: 83317
|
| |
|
|
|
|
|
|
| |
the new predicates I added) instead of going through a context and doing a
pointer comparison. Besides being cheaper, this allows a smart compiler
to turn the if sequence into a switch.
llvm-svn: 83297
|
| |
|
|
|
|
|
|
| |
an machine instruction.
This is not yet enabled.
llvm-svn: 83210
|
| |
|
|
| |
llvm-svn: 83207
|
| |
|
|
|
|
| |
inlined functions.
llvm-svn: 83190
|
| |
|
|
|
|
| |
This will allow processDebugLoc() to handle scopes for DWARF debug info.
llvm-svn: 83183
|
| |
|
|
| |
llvm-svn: 83182
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to emit target-specific things at the beginning of the asm output. This
fixes a problem for PPC, where the text sections are not being kept together
as expected. The base class doInitialization code calls DW->BeginModule()
which emits a bunch of DWARF section directives. The PPC doInitialization
code then emits all the TEXT section directives, with the intention that they
will be kept together. But as I understand it, the Darwin assembler treats
the default TEXT section as a special case and moves it to the beginning of
the file, which means that all those DWARF sections are in the middle of
the text. With this change, the EmitStartOfAsmFile hook is called before
the DWARF section directives are emitted, so that all the PPC text section
directives come out right at the beginning of the file.
llvm-svn: 83176
|