Displaying 2 results from an estimated 2 matches for "_foo1".
Did you mean:
foo1
2014 Aug 25
2
[LLVMdev] How to tell whether a GlobalValue is user-defined
I think this is preventing constants in the constant pool (e.g., floating
point literal) from being placed in the mergeable constant sections?
We want to keep the const arrays declared in the program (s_dashArraySize1)
out of the mergeable constant sections, but don't mind placing constants
in the constant pool or constant arrays that the compiler defines, such
as switch.table and
2010 Jul 26
0
[LLVMdev] a question about how to use LTO
...uilding the gcc frontend and LLVM itself.
I followed the example in http://llvm.org/docs/LinkTimeOptimization.html but
at the final step I got the following error:
[XXXX at XXX example]$ llvm-gcc a.o main.o -o main
ld warning: in a.o, file is not of required architecture
Undefined symbols:
"_foo1", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
It looks like llvm-gcc called the non-llvm linker that didn't recognize the
a.o in bitcode. I'm using OS X Leapard, llvm-2.7, and llvm-gcc-4.2-2.7.
Thanks.
Xiaoming
-------------- nex...