mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
DebugInfo: Lazily construct subprogram definition DIEs.
A further step to correctly emitting concrete out of line definitions preceeding inlined instances of the same program. To do this, emission of subprograms must be delayed until required since we don't know which (abstract only (if there's no out of line definition), concrete only (if there are no inlined instances), or both) DIEs are required at the start of the module. To reduce the test churn in the following commit that actually fixes the bug, this commit introduces the lazy DIE construction and cleans up test cases that are impacted by the changes in the resulting DIE ordering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
; CHECK-NEXT: DW_AT_rvalue_reference DW_FORM_flag_present
|
||||
;
|
||||
; CHECK: DW_TAG_subprogram
|
||||
;
|
||||
; CHECK: DW_TAG_subprogram
|
||||
; CHECK-NOT: DW_TAG_subprogram
|
||||
; CHECK: DW_AT_name {{.*}}"l"
|
||||
; CHECK-NOT: DW_TAG_subprogram
|
||||
|
||||
Reference in New Issue
Block a user