diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-13 11:40:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-13 11:40:46 -0700 |
commit | 8f80bc5120dcbbbee18159bc26da4595ca0640a5 (patch) | |
tree | c5d2f5c1e4b09b913bf80cede3e8abdc6878256b | |
parent | 02163f9957c1e0ee02b1c7d0936a084ffb592cff (diff) |
comment on .ll input
-rwxr-xr-x | emscripten.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py index b048733b..69e2d8cb 100755 --- a/emscripten.py +++ b/emscripten.py @@ -1,5 +1,19 @@ #!/usr/bin/python +''' +Run with -h to see usage options. + +Notes: + + * Emscripten expects the .ll input to be formatted and annotated the way + + llvm-dis -show-annotations + + does. So if you get .ll from something else, you should run it through + llvm-as (to generate LLVM bitcode) and then llvm-dis -show-annotations + (to get properly formatted and annotated .ll). +''' + import json import optparse import os |