[llvm-dev] Can i reduce my clang/JIT app in size?

Dennis Luehring via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 19 09:50:12 PDT 2018


i want to integrate a C source JITer into my application but the 
resulting executables are too large

is it possible to reduce the resulting libs/exe some way?
current VS2017/svn build example: 
llvm-build\Release\bin\clang-interpreter.exe ~36MB

for now (that can change later)
- i want to jit simple c-code
- no std library or something
- x64 only
- no deep/full architecture optimization needed
- no c++/templates etc.

any ideas?



More information about the llvm-dev mailing list