File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 44
55;; Test that an entry in the debug names table gets created for a top level DIE when the creation of TU is aborted.
66
7+ ;; clang++ -O0 main.cpp -gdwarf-5 -fdebug-types-section -gpubnames -S -emit-llvm -glldb -o main.ll
8+ ;; int foo;
9+ ;; namespace {
10+ ;; struct t1 {};
11+ ;; } // namespace
12+ ;; template <int *> struct t2 {
13+ ;; t1 v1;
14+ ;; };
15+ ;; struct t3 {
16+ ;; t2<&foo> v1;
17+ ;; };
18+ ;; t3 v1;
19+
720; CHECK: [[OFFSET:0x[0-9a-f]*]]: DW_TAG_structure_type
821; CHECK: [[OFFSET1:0x[0-9a-f]*]]: DW_TAG_structure_type
922
2639; CHECK-NEXT: DW_IDX_die_offset: [[OFFSET1]]
2740; CHECK-NEXT: DW_IDX_parent: <parent not indexed>
2841
29- ;; clang++ -O0 main.cpp -gdwarf-5 -fdebug-types-section -gpubnames -S -emit-llvm -glldb -o main.ll
30- ;; int foo;
31- ;; namespace {
32- ;; struct t1 {};
33- ;; } // namespace
34- ;; template <int *> struct t2 {
35- ;; t1 v1;
36- ;; };
37- ;; struct t3 {
38- ;; t2<&foo> v1;
39- ;; };
40- ;; t3 v1;
41-
4242; ModuleID = 'main.cpp'
4343source_filename = "main.cpp"
4444target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
You can’t perform that action at this time.
0 commit comments