diff options
author | Fangrui Song <i@maskray.me> | 2025-06-15 11:52:43 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-06-15 11:52:43 -0700 |
commit | 72de33a406383cb8555234c40e7b31db593e164f (patch) | |
tree | 347419f946bf791a735f9e260269a54e64f8c0c2 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 254a92d49a4c1e1f7f747b1c2f1ccbfd7f217880 (diff) | |
download | llvm-72de33a406383cb8555234c40e7b31db593e164f.zip llvm-72de33a406383cb8555234c40e7b31db593e164f.tar.gz llvm-72de33a406383cb8555234c40e7b31db593e164f.tar.bz2 |
MC: Add MCAsmInfo::evaluateAsRelocatableImpl and replace VEMCExpr with MCSpecifierExpr
Expressions with specifier can only be folded during relocation
generatin. At parse time the `MCAssembler *` argument might be null, and
targets should not rely on the evaluateAsRelocatable result.
Therefore, we can move evaluateAsRelocatableImpl from MCSpecifierExpr to
MCAsmInfo, so that targets do not need to inherit from MCSpecifierExpr.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions