llvm-project/llvm/test/tools/UpdateTestChecks
Alex Richardson 0483b00875 Mark the $local function begin symbol as a function
While this does not matter for most targets, when building for Arm Morello,
we have to mark the symbol as a function and add size information, so that
LLD can correctly evaluate relocations against the local symbol.
Since Morello is an out-of-tree target, I tried to reproduce this with
in-tree backends and with the previous reviews applied this results in
a noticeable difference when targeting Thumb.

Background: Morello uses a method similar Thumb where the encoding mode is
specified in the LSB of the symbol. If we don't mark the target as a
function, the relocation will not have the LSB set and calls will end up
using the wrong encoding mode (which will almost certainly crash).

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D131429
2022-08-26 09:34:04 +00:00
..
update_analyze_test_checks Require asserts in newly added test 2022-04-15 15:56:37 +03:00
update_llc_test_checks Mark the $local function begin symbol as a function 2022-08-26 09:34:04 +00:00
update_mir_test_checks llvm-reduce: Don't assert on functions which don't track liveness 2022-06-07 10:00:25 -04:00
update_test_checks [UpdateTestChecks] Handle prefix reuse for appended check lines 2022-06-28 17:18:12 -05:00
lit.local.cfg