[llvm] [BOLT][runtime] Add start & fini symbols (PR #68505)
Rafael Auler via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 14:33:37 PDT 2023
================
@@ -4568,6 +4568,26 @@ void RewriteInstance::updateELFSymbolTable(
}
}
+ // Add runtime library start and fini address symbols
+ if (RuntimeLibrary *RtLibrary = BC->getRuntimeLibrary()) {
+ auto AddSymbol = [&](StringRef Name, uint64_t Address) {
----------------
rafaelauler wrote:
I see. LGTM
https://github.com/llvm/llvm-project/pull/68505
More information about the llvm-commits
mailing list