[llvm] [BOLT] Support instrumentation hook via DT_FINI_ARRAY (PR #67348)

Job Noorman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 03:16:21 PDT 2023


================
@@ -1276,6 +1280,57 @@ void RewriteInstance::discoverFileObjects() {
   registerFragments();
 }
 
+Error RewriteInstance::discoverFiniAddress() {
----------------
mtvec wrote:

afaict, the code is already universal as it only uses the `RuntimeLibrary` interface so it should work for any runtime library implementation. Or am I missing something?

https://github.com/llvm/llvm-project/pull/67348


More information about the llvm-commits mailing list