[llvm] MC: Store fragment content and fixups out-of-line (PR #146307)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 29 22:46:03 PDT 2025
================
@@ -1027,7 +1029,7 @@ bool MCAssembler::relaxLEB(MCLEBFragment &LF) {
if (UseZeroPad)
Value = 0;
}
- Data.clear();
+ SmallVector<char, 16> Data;
----------------
aengelke wrote:
array + encode*LEB128(Value, Data.data(), PadTo) to avoid raw_ostream overhead.
https://github.com/llvm/llvm-project/pull/146307
More information about the llvm-commits
mailing list