xref: /llvm-project/lld/test/COFF/Inputs/thinlto-mangled-qux.ll (revision f01fdd17b4d202727023da23bdd120eb0bd94f9f)
1target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
2target triple = "x86_64-pc-windows-msvc19.0.24215"
3
4%class.baz = type { %class.bar }
5%class.bar = type { ptr }
6
7$"\01?x@bar@@UEBA_NXZ" = comdat any
8
9$"\01??_7baz@@6B@" = comdat any
10
11$"\01??_Gbaz@@UEAAPEAXI@Z" = comdat any
12
13@"\01??_7baz@@6B@" = linkonce_odr unnamed_addr constant { [2 x ptr] } { [2 x ptr] [ptr @"\01??_Gbaz@@UEAAPEAXI@Z", ptr @"\01?x@bar@@UEBA_NXZ"] }, comdat, !type !0, !type !1
14
15define void @"\01?qux@@YAXXZ"() local_unnamed_addr {
16  ret void
17}
18
19define linkonce_odr ptr @"\01??_Gbaz@@UEAAPEAXI@Z"(ptr %this, i32 %should_call_delete) unnamed_addr comdat {
20  ret ptr null
21}
22
23define linkonce_odr zeroext i1 @"\01?x@bar@@UEBA_NXZ"(ptr %this) unnamed_addr comdat {
24  ret i1 false
25}
26
27!0 = !{i64 0, !"?AVbar@@"}
28!1 = !{i64 0, !"?AVbaz@@"}
29