Comments (6)
Can you attach the .ll file that was generated? And, what OS are you on?
from emscripten.
Yes, sure. The box I'm runing on is:
Linux maclane 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux
I've uploaded the .ll file here:
https://gist.github.com/1008855
from emscripten.
Thanks, and what specific command did you run to compile it?
from emscripten.
According to my bash history:
llvm-gcc -O3 --emit-llvm command.cpp -c -o command
llvm-dis command
Please note that the -show-annotations flag doesn't appear to work with my version of llvm-dis as it gives the following error:
llvm-dis: Unknown command line argument '-show-annotations'. Try: 'llvm-dis -help'
The version I'm using is the following:
$ llvm-dis --version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.7 ( 2.7-0ubuntu1)
Optimized build.
Built Apr 28 2010 (14:19:53).
Host: x86_64-pc-linux-gnu
Host CPU: core2
Registered Targets:
(none)
from emscripten.
Just spotted what might be going on: the version of llvm I've been using is 2.7 and not the 2.9 version required here: https://github.com/kripken/emscripten/wiki/Getting-started
from emscripten.
Ah yeah, I should have asked about the LLVM version. That is probably the cause.
from emscripten.
Related Issues (20)
- emscripten_force_exit cannot free SharedArrayBuffer
- The currently published docker image uses a seemingly incompatible version of CMake HOT 1
- Exception can't be caught with `-sMAIN_MODULE` and `-sEMULATE_FUNCTION_POINTER_CASTS` and give Runtime error HOT 1
- Output emcc HOT 1
- WASMFS Mouting OPFS from js HOT 2
- Node V14 with CommonJS HOT 6
- llvm-strip throws invalid relocation offset when using --strip-debug HOT 8
- stringstream acts incorrectly with double type value when some characters are followed
- ASYNCIFY=1 HOT 8
- WebGPU: Wrong values returned from wgpuBufferGetMapState
- Call my callback function in other thread with proxying.h HOT 1
- Joining a thread after using emscripten_set_main_loop deadlocks HOT 7
- Runtime Link Error HOT 3
- websocket_to_posix_proxy in a container
- [HELP] HOW Enable NODERAWFS with emcmake. HOT 1
- runMetaWithFS always use XHR and fails in nodejs environment HOT 1
- WASM_BIGINT leads to RuntimeError HOT 3
- How to use requestAnimationFrame in place of wgpuInstanceProcessEvents HOT 1
- Wasm2wat Unexpect Opcode HOT 5
- JSPI and pthreads shows RuntimeError - invalid suspender object for suspend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emscripten.