[all-commits] [llvm/llvm-project] 5315f3: Handle leading underscores in update_cc_test_check...
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Mon Jan 13 03:24:27 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5315f3f8cb8f562ec39f57f2fce79c8e017595f9
https://github.com/llvm/llvm-project/commit/5315f3f8cb8f562ec39f57f2fce79c8e017595f9
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M clang/test/utils/update_cc_test_checks/Inputs/c-symbol-mangling.c
M clang/test/utils/update_cc_test_checks/Inputs/c-symbol-mangling.c.expected
M llvm/utils/UpdateTestChecks/common.py
M llvm/utils/update_cc_test_checks.py
Log Message:
-----------
Handle leading underscores in update_cc_test_checks.py (#121800)
For some ABIs `update_cc_test_checks.py` is unable to generate tests
because of the mismatch between the mangled function names reported by
clang's `-asd-dump` and the function names in LLVM IR.
This patch fixes it by striping the leading underscore from the mangled
name for global functions if the data layout string says they have one.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list