================ @@ -1019,8 +1019,14 @@ LowerTypeTestsModule::importTypeId(StringRef TypeId) { return C; }; - if (TIL.TheKind != TypeTestResolution::Unsat) - TIL.OffsetedGlobal = ImportGlobal("global_addr"); + if (TIL.TheKind != TypeTestResolution::Unsat) { + auto *GV = ImportGlobal("global_addr"); + // This is either a vtable (in .data.rel.ro) or a jump table (in .text). + // Either way it's expected to be in the low 2 GiB, so set the small code ---------------- fmayer wrote:
preferably there would be some reference why we would expect that https://github.com/llvm/llvm-project/pull/141324 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits