summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-05-23 23:09:56 -0700
committerGitHub <noreply@github.com>2025-05-23 23:09:56 -0700
commit871b0a32216770b84fe6fed412610ad03dafbf7f (patch)
treed0ac80fef56795a27ce989f8391e8ca99318dec8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent84f06b88b64352e35fc8363081e58fd37e326452 (diff)
MCAsmBackend: Simplify applyFixup (#141333)
Remove the MCSubtargetInfo argument from applyFixup, introduced in https://reviews.llvm.org/D45962 , as it's only required by ARM. Instead, add const MCFragment & so that ARMAsmBackend can retrieve MCSubtargetInfo via a static member function. Additionally, remove the MCAssembler argument, which is also only required by ARM. Additionally, make applyReloc non-const. Its arguments now fully cover addReloc's functionality.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions