[libcxx-commits] [libcxx] [libc++] Reject abilist if it contains an ABI tag (PR #139030)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 14 07:32:27 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)
----------------
ldionne wrote:
That's right, this is kinda tricky. I had plans to migrate the ABI list tests to Lit at some point, but this is one of the difficulties I encountered too. I think this is good enough for now. For anyone curious: https://github.com/ldionne/llvm-project/commit/060c7d6e5b27ced5757c4fd3da0754d6356ea2b4.
https://github.com/llvm/llvm-project/pull/139030
More information about the libcxx-commits
mailing list