aboutsummaryrefslogtreecommitdiff
path: root/tools/exec_llvm.py
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-08-17 07:44:59 +0300
committermax99x <max99x@gmail.com>2011-08-17 07:44:59 +0300
commit25630c272ddd8d260f4bd8d60db5f2b01b6a00e8 (patch)
tree8708398c75748234299abae35dbdb3f8a095a5c6 /tools/exec_llvm.py
parentee4b6ebf353585fb0eb0809a4b677f5694a9ba79 (diff)
parentc2d71f807a84cb1cfad154c59e9d6859fff3e631 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools/exec_llvm.py')
-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