llvm-project/llvm/utils/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
..
__init__.py
asm.py Mark the $local function begin symbol as a function 2022-08-26 09:34:04 +00:00
common.py update-test-checks: safely handle tests with #if's 2022-07-20 11:23:49 +02:00
isel.py [UpdateTestChecks] Auto-generate stub bodies for unused prefixes 2022-05-26 10:23:10 -07:00