[llvm-dev] lli size
Tim Prepscius via llvm-dev
llvm-dev at lists.llvm.org
Sat Apr 9 09:15:36 PDT 2016
I have been able to get the executable down to 7 megs.
By:
auto ee = llvm::Interpreter::create(std::unique_ptr<Module>(mo));
and changing the linker flags.
I would like to get it down to a meg or less.
-tim
On 4/8/16, Tim Prepscius <timprepscius at gmail.com> wrote:
> Hey there,
>
> Been googling but can't find. Thought to ask the wizards.
>
> The LLVM interpreter. I am creating a simple wrapper around it to run
> a script. The program after linking is about 25 megs stripped of
> debug symbols.
>
> This seems a bit large.
>
>
> Is it possible that this could somehow to be drastically reduced?
> Is it worth going and trying to rip things out?
>
> The code which instantiates the interpreter is here:
> https://github.com/timprepscius/llvmscriptdemo/blob/master/src/llvmscriptdemo.cpp
>
>
> Any help/advice/etc, greatly appreciated.
>
> -tim
>
More information about the llvm-dev
mailing list