aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-01-20 10:24:57 +1100
committerLang Hames <lhames@gmail.com>2025-01-20 10:25:18 +1100
commitde586937648d360d8c4741cd34f633ea92316874 (patch)
treeeab4c41de50ad4712b9b41e8211b4a135e2c6fba
parentc46df8538034d706d4e5927314950f2a1b79e771 (diff)
downloadllvm-de586937648d360d8c4741cd34f633ea92316874.zip
llvm-de586937648d360d8c4741cd34f633ea92316874.tar.gz
llvm-de586937648d360d8c4741cd34f633ea92316874.tar.bz2
[ORC][MachO] Add a TODO comment.
-rw-r--r--llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp b/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
index 8e66d02..f8f65ec 100644
--- a/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
@@ -583,6 +583,12 @@ MachOPlatform::MachOPlatform(
return;
// (5) Associate runtime support functions.
+ // TODO: Consider moving this above (4) to make runtime support functions
+ // available to the bootstrap completion graph. We'd just need to be
+ // sure that the runtime support functions are fully usable before any
+ // bootstrap completion actions use them (e.g. the ORC runtime
+ // macho_platform object would have to have been created and
+ // initialized).
if ((Err = associateRuntimeSupportFunctions()))
return;
}