[clang] [llvm] [ThinLTO] Support dead RTTI data elimination under -fno-split-lto-unit (PR #126336)
Mingming Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 13:59:35 PST 2025
================
@@ -0,0 +1,20 @@
+; RUN: llvm-as %s -o - | llvm-dis -o %t.ll
+; RUN: grep "^\^" %s >%t2
+; RUN: grep "^\^" %t.ll >%t3
+; Expect that the summary information is the same after round-trip through
+; llvm-as and llvm-dis.
+; RUN: diff -b %t2 %t3
+
+target triple = "aarch64-unknown-linux-gnu"
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+
+ at _ZTSxxx = external global ptr
----------------
mingmingl-llvm wrote:
Would you mind describing how this PR handles vtables with local linkage (in PR description), and extend this regression test for local-linkage vtables?
https://github.com/llvm/llvm-project/pull/126336
More information about the cfe-commits
mailing list