Displaying 7 results from an estimated 7 matches for "_zn4llvm4outsev".
2016 Mar 25
2
Link error on Linux
Yeah, seems to.
a at a-VirtualBox:~$ nm /home/a/build//lib/libLLVMSupport.a | grep
ZN4llvm4outsEv
U _ZN4llvm4outsEv
U _ZN4llvm4outsEv
0000000000000000 b _ZGVZN4llvm4outsEvE1S
0000000000000000 T _ZN4llvm4outsEv
0000000000000000 r _ZZN4llvm4outsEvE19__PRETTY_FUNCTION__
0000000000000000 b _ZZN4llvm4outsEvE1S
U _ZN4llvm4outsEv
I can try building with RTTI, it'll just take a few...
2016 Mar 25
0
Link error on Linux
...o try to put the .o before the list of library.
--
Mehdi
> On Mar 25, 2016, at 12:41 AM, Russell Wallace <russell.wallace at gmail.com> wrote:
>
> Yeah, seems to.
>
> a at a-VirtualBox:~$ nm /home/a/build//lib/libLLVMSupport.a | grep ZN4llvm4outsEv
> U _ZN4llvm4outsEv
> U _ZN4llvm4outsEv
> 0000000000000000 b _ZGVZN4llvm4outsEvE1S
> 0000000000000000 T _ZN4llvm4outsEv
> 0000000000000000 r _ZZN4llvm4outsEvE19__PRETTY_FUNCTION__
> 0000000000000000 b _ZZN4llvm4outsEvE1S
> U _ZN4llvm4outsEv
>
> I can try build...
2016 Mar 25
0
Link error on Linux
Since the log tells you that llvm::outs() is not found, and since it is supposed to be found in libLLVMSupport.a, you can try:
$ nm /home/a/build//lib/libLLVMSupport.a | grep ZN4llvm4outsEv
...
0000000000002070 T __ZN4llvm4outsEv
...
The output should have the symbol defined.
--
Mehdi
> On Mar 25, 2016, at 12:18 AM, Russell Wallace via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Tried that just now, same result.
>
> On Fri, Mar 25, 2016 at 6:58 AM, Snehasish Kumar <kumar.snehasish at gm...
2011 Nov 19
0
[LLVMdev] [cfe-dev] How do I output to the console in Windows using clang++?
...> with this. I first tried using cout from <iostream.h>, only to find out that
> llvm does not seem to support it. Then I tried using raw_ostream and the
> outs function, and now I'm getting an unresolved external error:
> "LLVM ERROR: Program used external function '_ZN4llvm4outsEv' which ciuld
> not be resolved!"
> Stack dump:
> 0. Program arguments: lli test.bc
> 1. Running pass: 'x86 Machine Code Emitter' on function '@main'
>
> To get the compiler to recognize outs, I had to modify the includes in
> raw_ostream.h to find a...
2017 Aug 01
2
[RFC] Profile guided section layout
...3elf4makeINS0_12LinkerScriptEJEEEPT_DpOT0_ __cxa_atexit
1 _ZN3lld3elf4makeINS0_12LinkerDriverEJEEEPT_DpOT0_ __cxa_atexit
1 _ZN3lld3elf4makeINS0_13ConfigurationEJEEEPT_DpOT0_ __cxa_atexit
1 _GLOBAL__sub_I_PDB.cpp __cxa_atexit
1 _GLOBAL__sub_I_Signals.cpp __cxa_atexit
1 _ZN4llvm4errsEv __cxa_atexit
1 _ZN4llvm4outsEv __cxa_atexit
1 _GLOBAL__sub_I_MCContext.cpp getenv
1 _GLOBAL__sub_I_IRSymtab.cpp getenv
1 _ZL10getVersionv getenv
1 _ZN3lld3elf12LinkerDriver4mainEN4llvm8ArrayRefIPKcEEb getenv
1 __sigsetjmp __sigjmp_save
1 _setjmp __sigsetjmp
1 generic_start_main _setjmp
1 __libc_init_first __ctype_init
1 generic_...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached.
Cheers,
Rafael
On 31 July 2017 at 15:11, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> Tobias Edler von Koch <tobias at codeaurora.org> writes:
>
>> Hi Rafael,
>>
>> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
>>> However, do we need to start with
2016 Mar 25
3
Link error on Linux
Tried that just now, same result.
On Fri, Mar 25, 2016 at 6:58 AM, Snehasish Kumar <kumar.snehasish at gmail.com>
wrote:
> Hi Russel,
>
> Can you try compiling aklo.o using -fno-rtti prior to linking?
>
> On Thu, Mar 24, 2016 at 11:44 PM, Russell Wallace via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > I'm trying to link a program with LLVM on Linux.