diff options
author | Fangrui Song <i@maskray.me> | 2025-04-04 19:57:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-04 19:57:24 -0700 |
commit | 71884b63a413c7803fce8ec7bf2857938765f4e2 (patch) | |
tree | eaaf9d578c6adc88eb9fad7635dfb26aa6112b2f /clang/lib/Basic/SourceManager.cpp | |
parent | d59594d697c4b1f0f44a4e9ee296543a88575178 (diff) | |
download | llvm-71884b63a413c7803fce8ec7bf2857938765f4e2.zip llvm-71884b63a413c7803fce8ec7bf2857938765f4e2.tar.gz llvm-71884b63a413c7803fce8ec7bf2857938765f4e2.tar.bz2 |
[AArch64] Transition from MCSymbolRefExpr::VariantKind constants
Shift ELF `@plt` and `@gotpcrel` references in data directives, as well as
Mach-O `@specifier` notations, to use `AArch64MCExpr::Specifier` constants.
This is a follow-up to #132595. COFF-specific specifiers are not moved
yet.
In addition, partition @-specifiers into COFF, ELF, and Mach-O, so that
mix-and-match is rejected at parse time.
ELF and Mach-O specifiers are distinct, with `None` being the only
shared value. For Mach-O-specific specifiers, we adopt the `M_xxx` naming
convention.
Pull Request: https://github.com/llvm/llvm-project/pull/133214
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions