[llvm] 4ebdce4 - [NFC] Remove obsolete typeids.test after fa23198d685b (#216379)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 13:07:22 PDT 2026


Author: Jinsong Ji
Date: 2026-08-14T16:07:17-04:00
New Revision: 4ebdce437b04793d0bc4318b50a9f8278113a59c

URL: https://github.com/llvm/llvm-project/commit/4ebdce437b04793d0bc4318b50a9f8278113a59c
DIFF: https://github.com/llvm/llvm-project/commit/4ebdce437b04793d0bc4318b50a9f8278113a59c.diff

LOG: [NFC] Remove obsolete typeids.test after fa23198d685b (#216379)

fa23198d685b replaced llvm::Any with IRUnitRef in
PassInstrumentation. IRUnitRef uses an enum discriminator instead of
address-based TypeId, so the visibility guard this test enforced no
longer applies.

Added: 
    

Modified: 
    

Removed: 
    llvm/test/tools/llvm-shlib/typeids.test


################################################################################
diff  --git a/llvm/test/tools/llvm-shlib/typeids.test b/llvm/test/tools/llvm-shlib/typeids.test
deleted file mode 100644
index fc467f0c1f722..0000000000000
--- a/llvm/test/tools/llvm-shlib/typeids.test
+++ /dev/null
@@ -1,14 +0,0 @@
-# REQUIRES: x86_64-linux, llvm-dylib
-
-# Make sure there's no llvm::Any::TypeId symbol local to the shared library.  As
-# the adress of llvm::Any::TypeId::Id is used as a global unique identifier for
-# each type, having another visibility defeats the original purpose.
-#
-# This happens when llvm::Any::TypeId is parametrized by a type with hidden
-# visibility.
-
-# RUN: llvm-nm -C %llvmdylib | FileCheck %s
-# RUN: llvm-nm -C %llvmdylib | FileCheck %s --check-prefix=SAFETY-CHECK
-
-# CHECK-NOT: {{[^uvV]}} llvm::Any::TypeId
-# SAFETY-CHECK: {{[uvV]}} llvm::Any::TypeId


        


More information about the llvm-commits mailing list