Displaying 5 results from an estimated 5 matches for "chunbyang2".
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
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 that you have to do...
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
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 02
2
[LLVMdev] Unable to perform LLVM LTO using clang
Hi everyone,
I want to perform whole-program analysis for apache httpd using httpd's
original autoconf system so that I need to generate a single bitcode file.
So I follow the instructions in LLVM document on gold plugin
http://llvm.org/docs/GoldPlugin.html#lto-how-to-build. However, when
running a simple program using LTO, clang fails to link the object file
with the LLVM bitcode.