diff options
author | Fangrui Song <i@maskray.me> | 2024-07-01 10:47:46 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-07-01 10:47:46 -0700 |
commit | 6b707a8cc143f094b02393f4faf89025c64520bb (patch) | |
tree | 833983f7afd3c03cf4473b94d3dea6ea4f76630f /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | 75ec24e875762f038bf490d6e3fa5d4743d7afd1 (diff) | |
download | llvm-6b707a8cc143f094b02393f4faf89025c64520bb.zip llvm-6b707a8cc143f094b02393f4faf89025c64520bb.tar.gz llvm-6b707a8cc143f094b02393f4faf89025c64520bb.tar.bz2 |
[MC] Remove the MCAsmLayout parameter from MCObjectWriter::executePostLayoutBinding
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index 8543b97..e7e729f 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -259,8 +259,7 @@ public: uint64_t &FixedValue) override; bool usesRela(const MCTargetOptions *TO, const MCSectionELF &Sec) const; - void executePostLayoutBinding(MCAssembler &Asm, - const MCAsmLayout &Layout) override; + void executePostLayoutBinding(MCAssembler &Asm) override; void markGnuAbi() override { SeenGnuAbi = true; } bool seenGnuAbi() const { return SeenGnuAbi; } @@ -1274,8 +1273,7 @@ bool ELFObjectWriter::hasRelocationAddend() const { return TargetObjectWriter->hasRelocationAddend(); } -void ELFObjectWriter::executePostLayoutBinding(MCAssembler &Asm, - const MCAsmLayout &Layout) { +void ELFObjectWriter::executePostLayoutBinding(MCAssembler &Asm) { // The presence of symbol versions causes undefined symbols and // versions declared with @@@ to be renamed. for (const MCAssembler::Symver &S : Asm.Symvers) { |