[llvm-branch-commits] [llvm] [dwarf] make dwarf fission compatible with RISCV relaxations 1/2 (PR #164812)
Sam Elliott via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 27 19:59:51 PDT 2025
================
@@ -84,7 +84,22 @@ void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-LLVM_DUMP_METHOD void MCSymbol::dump() const {
- dbgs() << *this;
-}
+LLVM_DUMP_METHOD void MCSymbol::dump() const { dbgs() << *this; }
#endif
+
+bool llvm::isRangeRelaxable(const MCSymbol *Begin, const MCSymbol *End) {
----------------
lenary wrote:
Please can we not re-implement `absoluteSymbolDiff` from `MCObjectStreamer.cpp` - given the logic there is already quite complex, maybe we can re-use that function rather than missing this one in a future update?
https://github.com/llvm/llvm-project/pull/164812
More information about the llvm-branch-commits
mailing list