Displaying 6 results from an estimated 6 matches for "chunbai".
Did you mean:
chennai
2013 Dec 05
2
[LLVMdev] Unable to perform LLVM LTO using clang
Dear Rafael,
Thank you for your answer. The verbose mode -v shows that clang uses the
old ld in /usr/bin while I install the gold in /usr/local/bin.
Regards,
Chunbai
On Tue, Dec 3, 2013 at 9:23 PM, Rafael EspĂndola <rafael.espindola at gmail.com
> wrote:
> > Could anyone tell me where my mistake is?
>
> Try running
>
> clang -flto a.o b.o -o main -v
>
> it should print how clang is running the linker. See if it is running
> t...
2013 Dec 05
0
[LLVMdev] Unable to perform LLVM LTO using clang
On 5 December 2013 07:46, Chunbai YANG <chunbyang2 at gapps.cityu.edu.hk> wrote:
> Dear Rafael,
>
> Thank you for your answer. The verbose mode -v shows that clang uses the old
> ld in /usr/bin while I install the gold in /usr/local/bin.
Clang should be searching the path. What does
$ which ld
print? Maybe all...
2013 Dec 02
2
[LLVMdev] Unable to perform LLVM LTO using clang
...lt using ln
7. configure LLVM
with --with-binutils-include=/path/to/binutils/src/include
8. execute make again in LLVM root
It seems the gold linker works well with the LLVMgold.so lib however clang
fails to correctly invoke gold linker.
Could anyone tell me where my mistake is?
Regards,
Chunbai Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131202/1d29aaf4/attachment.html>
2013 Oct 18
1
[LLVMdev] Iterate through a Module's StructTypes
Hello,
I'm updating a legacy code using LLVM 2.5 where it has an iteration through
a Module's TypeSymbolTable to process each StructType.
In LLVM 3.4, TypeSymbolTable has been removed. I can only find the
LLVMContextImpl instance of a Module's LLVMContext which has
AnonStructTypes and NamedStructTypes two maps. However, LLVMContextImpl is
an opaque class which cannot be directly
2013 Dec 03
0
[LLVMdev] Unable to perform LLVM LTO using clang
> Could anyone tell me where my mistake is?
Try running
clang -flto a.o b.o -o main -v
it should print how clang is running the linker. See if it is running
the linker you expect and if it is passing -plugin to it.
Cheers,
Rafael
2013 Oct 18
0
[LLVMdev] Iterate through a Module's StructTypes
Hello,
I'm updating a legacy code using LLVM 2.5 where it has an iteration through
a Module's TypeSymbolTable to process each StructType.
In LLVM 3.4, TypeSymbolTable has been removed. I can only find the
LLVMContextImpl instance of a Module's LLVMContext which has
AnonStructTypes and NamedStructTypes two maps. However, LLVMContextImpl is
an opaque class which cannot be directly