| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
| |
While not strictly necessary (the class has an invariant that
"setDebugInfoOffset" is called before "getDebugInfoOffset" - anyone
client that actually gets the default zero offset is buggy/broken) this
is consistent with the code as originally written and the removal of the
initialization was an accident in r195166.
Suggested by Manman Ren.
llvm-svn: 195263
|
| |
|
|
|
|
|
|
| |
units disabling cross-CU sharing.
Changes suggested by Manman Ren.
llvm-svn: 195262
|
| |
|
|
|
|
|
| |
and not polymorphically deleted and they are the only thing that derive
from DIE.
llvm-svn: 195183
|
| |
|
|
|
|
| |
and LexicalScopes, we're not using it.
llvm-svn: 195182
|
| |
|
|
| |
llvm-svn: 195181
|
| |
|
|
| |
llvm-svn: 195180
|
| |
|
|
| |
llvm-svn: 195179
|
| |
|
|
| |
llvm-svn: 195171
|
| |
|
|
| |
llvm-svn: 195170
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Emit DW_TAG_type_units into the debug_info section using compile unit
headers. This is bogus/unusable by debuggers, but testable and provides
more isolated review.
Subsequent patches will include support for type unit headers and
emission into the debug_types section, as well as comdat grouping the
types based on their hash. Also the CompileUnit type will be renamed
'Unit' and relevant portions pulled out into respective CompileUnit and
TypeUnit types.
llvm-svn: 195166
|
| |
|
|
|
|
| |
accelarator insertion in preparation for a second use of this code from type units.
llvm-svn: 195164
|
| |
|
|
|
|
|
|
| |
intended.
Reviewed by Tom
llvm-svn: 195156
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step to fix pr17918.
It extends the .section directive a bit, inspired by what the ELF one looks
like. The problem with using linkonce is that given
.section foo
.linkonce....
.section foo
.linkonce
we would already have switched sections when getting to .linkonce. The cleanest
solution seems to be to add the comdat information in the .section itself.
llvm-svn: 195148
|
| |
|
|
|
|
| |
Caught by Aaron Ballman.
llvm-svn: 195138
|
| |
|
|
| |
llvm-svn: 195122
|
| |
|
|
| |
llvm-svn: 195121
|
| |
|
|
|
|
|
| |
we can emit various sections in any order.
No functional change.
llvm-svn: 195120
|
| |
|
|
| |
llvm-svn: 195119
|
| |
|
|
| |
llvm-svn: 195103
|
| |
|
|
|
|
|
| |
Hard-coded operand indices were scattered throughout lowering stages
and layers. It was super bug prone.
llvm-svn: 195093
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file. The memory leaks in this version have been fixed. Thanks
Alexey for pointing them out.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068
Reviewed by Andy
llvm-svn: 195064
|
| |
|
|
| |
llvm-svn: 195060
|
| |
|
|
| |
llvm-svn: 195059
|
| |
|
|
|
|
| |
types, and make DIType(MDNode*) explicit like all the other DI* node ctors.
llvm-svn: 195055
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change is incorrect. If you delete virtual destructor of both a base class
and a subclass, then the following code:
Base *foo = new Child();
delete foo;
will not cause the destructor for members of Child class. As a result, I observe
plently of memory leaks. Notable examples I investigated are:
ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl.
llvm-svn: 194997
|
| |
|
|
| |
llvm-svn: 194981
|
| |
|
|
| |
llvm-svn: 194980
|
| |
|
|
| |
llvm-svn: 194979
|
| |
|
|
|
|
|
|
| |
This reverts commit f1d9fe9d04ce93f6d5dcebbd2cb6a07414d7a029.
This was causing PR17964. We need to use thread data before regular data.
llvm-svn: 194960
|
| |
|
|
|
|
| |
illegal constants.
llvm-svn: 194959
|
| |
|
|
| |
llvm-svn: 194945
|
| |
|
|
| |
llvm-svn: 194944
|
| |
|
|
|
|
|
|
| |
Implementing this on bigendian platforms could get strange. I added a
target hook, getStackSlotRange, per Jakob's recommendation to make
this as explicit as possible.
llvm-svn: 194942
|
| |
|
|
| |
llvm-svn: 194940
|
| |
|
|
| |
llvm-svn: 194934
|
| |
|
|
| |
llvm-svn: 194932
|
| |
|
|
|
|
| |
CompileUnit::createAndAddDIE.
llvm-svn: 194902
|
| |
|
|
| |
llvm-svn: 194901
|
| |
|
|
|
|
|
|
|
| |
and update test cases accordingly.
This doesn't affect the output dumped using llvm-dwarfdump, but
readelf does now dump the debug_loc section.
llvm-svn: 194898
|
| |
|
|
|
|
| |
DICompileUnit instead of a raw MDNode*.
llvm-svn: 194895
|
| |
|
|
|
|
| |
MDNode* for the CU metadata node
llvm-svn: 194893
|
| |
|
|
| |
llvm-svn: 194892
|
| |
|
|
| |
llvm-svn: 194883
|
| |
|
|
| |
llvm-svn: 194879
|
| |
|
|
| |
llvm-svn: 194875
|
| |
|
|
|
|
|
| |
This is the first of a few similar patches. We'll see how far it
goes/makes sense.
llvm-svn: 194871
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068
Reviewed by Andy
llvm-svn: 194865
|
| |
|
|
|
|
|
|
|
|
|
| |
The error reported the number of explicit operands,
but that isn't what is checked. In my case, this
resulted in the confusing errors
"Too few operands." followed shortly by
"8 operands expected, but 8 given."
llvm-svn: 194862
|
| |
|
|
| |
llvm-svn: 194848
|
| |
|
|
|
|
| |
If getDIE() fails, getOrCreateContextDIE() should also return the CUDie.
llvm-svn: 194843
|