llvm-6502/test/DebugInfo/X86
Manman Ren d498e5e960 Debug Info: instead of calling addToContextOwner which constructs the context
after the DIE creation, we construct the context first.

Ensure that we create the context before we create a type so that we can add
the newly created type to the parent. Remove last use of addToContextOwner
now that it's not needed.

We use createAndAddDIE to wrap around "new DIE(". Now all shareable DIEs
should be added to their parents right after the creation.

Reviewed off-list by Eric, Thanks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193657 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-29 22:49:29 +00:00
..
2010-04-13-PubType.ll
2010-08-10-DbgConstant.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
2011-09-26-GlobalVarContext.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
2011-12-16-BadStructRef.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
aligned_stack_var.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
arguments.ll
block-capture.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
byvalstruct.ll
coff_relative_names.ll
concrete_out_of_line.ll DebugInfo: Fix ordering of members after r191928 2013-10-04 01:39:59 +00:00
dbg_value_direct.ll
dbg-at-specficiation.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
dbg-byval-parameter.ll
dbg-const-int.ll
dbg-const.ll
dbg-declare-arg.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
dbg-declare.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
dbg-file-name.ll
dbg-i128-const.ll
dbg-large-unsigned-const.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
dbg-merge-loc-entry.ll
dbg-prolog-end.ll
dbg-subrange.ll Initialize BSSSection explicitly in InitMachOMCObjectFileInfo() to appease msvc. 2013-09-21 02:34:45 +00:00
dbg-value-dag-combine.ll Enable MI Sched for x86. 2013-10-15 23:33:07 +00:00
dbg-value-inlined-parameter.ll
dbg-value-isel.ll
dbg-value-location.ll
dbg-value-range.ll
dbg-value-terminator.ll
debug_frame.ll
debug-info-block-captured-self.ll
debug-info-blocks.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
debug-info-static-member.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
DW_AT_byte_size.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
DW_AT_location-reference.ll
DW_AT_object_pointer.ll Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. 2013-10-29 00:58:04 +00:00
DW_AT_specification.ll Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. 2013-10-29 00:58:04 +00:00
DW_AT_stmt_list_sec_offset.ll
DW_TAG_friend.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
dwarf-aranges-no-dwarf-labels.ll Remove wild .debug_aranges entries generated from unimportant labels 2013-10-03 08:54:43 +00:00
dwarf-aranges.ll Fixed a bug with section names containing special characters. 2013-10-03 22:07:08 +00:00
dwarf-public-names.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
dwarf-pubnames-split.ll
earlydup-crash.ll
eh_symbol.ll
elf-names.ll Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. 2013-10-29 00:58:04 +00:00
empty-and-one-elem-array.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
empty-array.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
ending-run.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
enum-class.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
enum-fwd-decl.ll
fission-cu.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
fission-hash.ll DebugInfo: Hash DW_FORM_GNU_str_index as a string. 2013-10-21 16:37:22 +00:00
fission-ranges.ll Add the DW_AT_GNU_ranges_base attribute if we've emitted any ranges 2013-10-01 00:43:36 +00:00
generate-odr-hash.ll
gnu-public-names-empty.ll Make sure we emit a section for pubnames even if that section is 2013-10-03 17:41:20 +00:00
gnu-public-names.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
instcombine-instrinsics.ll
line-info.ll
linkage-name.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
lit.local.cfg
low-pc-cu.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
main-file-name.s
misched-dbg-value.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
multiple-aranges.ll Fixed a bug with section names containing special characters. 2013-10-03 22:07:08 +00:00
multiple-at-const-val.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
nondefault-subrange-array.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
objc-fwd-decl.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
op_deref.ll Debug info: Get rid of the VLA indirection hack in FastISel. 2013-09-18 22:08:59 +00:00
parameters.ll
pointer-type-size.ll
pr9951.ll
pr11300.ll Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. 2013-10-29 00:58:04 +00:00
pr12831.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
pr13303.ll
prologue-stack.ll
reference-argument.ll
rvalue-ref.ll
stmt-list-multiple-compile-units.ll
stmt-list.ll
stringpool.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
struct-loc.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 05:49:41 +00:00
subrange-type.ll Debug Info: instead of calling addToContextOwner which constructs the context 2013-10-29 22:49:29 +00:00
subreg.ll
template.ll Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. 2013-10-29 00:58:04 +00:00
tls-fission.ll
tls.ll
union-template.ll
vector.ll
vla.ll Debug info: Get rid of the VLA indirection hack in FastISel. 2013-09-18 22:08:59 +00:00