Some compilers generation functions with '$' in their names, so recognize those
functions.
This also requires recognizing function names inside quotes in some contexts in
order to escape certain characters.
Differential D82995
[UpdateTestChecks] Allow $ in function names greened on Jul 1 2020, 1:55 PM. Authored by
Details Some compilers generation functions with '$' in their names, so recognize those This also requires recognizing function names inside quotes in some contexts in
Diff Detail
Unit Tests
Event TimelineComment Actions It would be good to check in a test example alongside this change, so we know it works. (And we'll know what we are losing if this has to be reverted for some reason.)
Comment Actions We need a test. If it helps, OpenMP begin/end declare variant mangles the names with $, so do we for CUDA (sometimes). Comment Actions Thanks. Where should tests go? I don't think they should go in clang's test/utils/update_cc_test_checks as this isn't just testing that tool. This adds capability to update_test_checks.py and update_llc_test_checks.py too. Comment Actions There exist downstream ARM compilers that doesn't support ARM64 and fail with Inputs/arm_function_name.ll. You should consider guarding arm64 specific tests. Comment Actions arm64 is an alias for aarch64, that should just be armv7 like the rest. Also the aarch64 test should probably gain an IOS test, it's weird that the arm one has one but not the aarch64 one. Comment Actions Hi David, Now that ARMv7 bots are back online after some infra issues, I see that asrm_function_name.ll is failling because tries to generate 64bit arm code but the compiler is not configured with AArch64 target on these bots. bot logs are available here: http://lab.llvm.org:8011/#/builders/26/builds/328
|
Do these ARM regexes not need the extra '?' like the others?