Displaying 6 results from an estimated 6 matches for "ldpt_option".
2009 Oct 16
2
[LLVMdev] strace for whole-program bitcodes
...mething like llvm-ld. Nicholas?
It's easy. In gold-plugin.cpp all_symbols_read_hook() where
lto_codegen_compile(cg, ...) is currently called, call
lto_codegen_write_merged_modules(cg, "/path/to/output.bc") instead.
If someone were to rig this up to a command-line flag (search for
LDPT_OPTION in the same file) then I would like to commit that change.
Nick
> The advantage of this approach is that it will potentially work with
> build systems that call ar/ld directly.
>
>> I'm currently investigating an alternative approach to produce
>> whole-program bitcodes:...
2009 Oct 30
2
[LLVMdev] strace for whole-program bitcodes
...?
>
> It's easy. In gold-plugin.cpp all_symbols_read_hook() where
> lto_codegen_compile(cg, ...) is currently called, call
> lto_codegen_write_merged_modules(cg, "/path/to/output.bc") instead.
>
> If someone were to rig this up to a command-line flag (search for
> LDPT_OPTION in the same file) then I would like to commit that change.
>
> Nick
>
> > The advantage of this approach is that it will potentially work with
> > build systems that call ar/ld directly.
> >
> >> I'm currently investigating an alternative approach to produce...
2009 Oct 29
0
[LLVMdev] strace for whole-program bitcodes
...mething like llvm-ld. Nicholas?
It's easy. In gold-plugin.cpp all_symbols_read_hook() where
lto_codegen_compile(cg, ...) is currently called, call
lto_codegen_write_merged_modules(cg, "/path/to/output.bc") instead.
If someone were to rig this up to a command-line flag (search for
LDPT_OPTION in the same file) then I would like to commit that change.
Nick
> The advantage of this approach is that it will potentially work with
> build systems that call ar/ld directly.
>
>> I'm currently investigating an alternative approach to produce
>> whole-program bitcodes:...
2009 Oct 30
0
[LLVMdev] strace for whole-program bitcodes
...something like llvm-ld. Nicholas?
It's easy. In gold-plugin.cpp all_symbols_read_hook() where
lto_codegen_compile(cg, ...) is currently called, call
lto_codegen_write_merged_modules(cg, "/path/to/output.bc") instead.
If someone were to rig this up to a command-line flag (search for
LDPT_OPTION in the same file) then I would like to commit that change.
Nick
> The advantage of this approach is that it will potentially work with
> build systems that call ar/ld directly.
>
>> I'm currently investigating an alternative approach to produce
>> whole-program bitcodes:...
2009 Oct 15
0
[LLVMdev] strace for whole-program bitcodes
On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
<timo.lindfors at iki.fi> wrote:
> Tianwei <tianwei.sheng at gmail.com> writes:
>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>> have a try later. Does anyone have a good solution for this problem?
>
> Afaik gold does not help here. I tried it and managed to only generate
>
2009 Oct 15
2
[LLVMdev] strace for whole-program bitcodes
Tianwei <tianwei.sheng at gmail.com> writes:
> someone suggested me to use gold-plugin, I know nothing about it yet, I will
> have a try later. Does anyone have a good solution for this problem?
Afaik gold does not help here. I tried it and managed to only generate
native code.
I'm currently investigating an alternative approach to produce
whole-program bitcodes:
1) add