diff options
author | Fangrui Song <i@maskray.me> | 2024-07-22 09:03:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-22 09:03:05 -0700 |
commit | 4010ddf780d90c42877c9ab8d28b7e084cfe197e (patch) | |
tree | 81bf3157a193a76699333e4ac4290f47d0a220a0 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d7e185cca98411e82655feecc297906cb7ed0850 (diff) | |
download | llvm-4010ddf780d90c42877c9ab8d28b7e084cfe197e.zip llvm-4010ddf780d90c42877c9ab8d28b7e084cfe197e.tar.gz llvm-4010ddf780d90c42877c9ab8d28b7e084cfe197e.tar.bz2 |
[MC,AArch64] Create mapping symbols with non-unique names
Add `createLocalSymbol` to create a local, non-temporary symbol.
Different from `createRenamableSymbol`, the `Used` bit is ignored,
therefore multiple local symbols might share the same name.
Utilizing `createLocalSymbol` in AArch64 allows for efficient mapping
symbol creation with non-unique names, saving .strtab space.
The behavior matches GNU assembler.
Pull Request: https://github.com/llvm/llvm-project/pull/99836
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions