aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/exec_llvm.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/exec_llvm.py b/tools/exec_llvm.py
index 060c6bf9..aa18aa2b 100755
--- a/tools/exec_llvm.py
+++ b/tools/exec_llvm.py
@@ -24,6 +24,13 @@ running
it runs
python $(EMSCRIPTEN_TOOLS)/exec_llvm.py THE_FILE PARAMS
+
+An alternative solution to this problem is to compile
+the .ll into native code. This can be done as follows:
+
+ * Use llc to generate x86 asm
+ * Use as to generate an object file
+ * Use g++ to link it to an executable
'''
import os, sys