[libcxx-commits] [libcxx] [libc++] Reject abilist if it contains an ABI tag (PR #139030)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 12 06:45:59 PDT 2025


================
@@ -80,6 +80,11 @@ def main():
         old_syms_list, _ = util.filter_stdlib_symbols(old_syms_list)
         new_syms_list, _ = util.filter_stdlib_symbols(new_syms_list)
 
+    for symbol in new_syms_list:
+        if 'B' in symbol["name"]:
+            print(f"Symbol {symbol["name"]} contains an ABI tag!")
+            sys.exit(1)
----------------
philnik777 wrote:

Since the name of the library changes depending on the platform this is non-trivial I think. Do you have any idea how to get that except passing it through as another lit substitution?

https://github.com/llvm/llvm-project/pull/139030


More information about the libcxx-commits mailing list