================
@@ -385,6 +384,14 @@ bool InputChunk::generateRelocationCode(raw_ostream &os) const {
if (!requiresRuntimeReloc)
continue;
+ if (funcs.empty() || funcs.back().size() >= 7654300) {
----------------
dmjio wrote:
Updated
https://github.com/llvm/llvm-project/pull/129007