search for: _znaj

Displaying 3 results from an estimated 3 matches for "_znaj".

2010 Oct 15
5
[LLVMdev] How do I find all memory allocations in an llvm ir code file?
...lang test.cpp -S -emit-llvm -o - > test.llvm and obtained this: define void @_Z8FuncTestv() { entry:   %a = alloca i32*, align 4   %b = alloca i32*, align 4   %call = call noalias i8* @_Znwj(i32 4)   %0 = bitcast i8* %call to i32*   store i32* %0, i32** %a, align 4   %call1 = call noalias i8* @_Znaj(i32 8)   %1 = bitcast i8* %call1 to i32*   store i32* %1, i32** %b, align 4   ret void } declare noalias i8* @_Znwj(i32) declare noalias i8* @_Znaj(i32) What I am wondering now is: where do the _Znwj and _Znaj symbols come from? Are they just randomly assigned or is there a system to it? I would...
2010 Oct 15
0
[LLVMdev] How do I find all memory allocations in an llvm ir code file?
...nd obtained this: > > define void @_Z8FuncTestv() { > entry: > %a = alloca i32*, align 4 > %b = alloca i32*, align 4 > %call = call noalias i8* @_Znwj(i32 4) > %0 = bitcast i8* %call to i32* > store i32* %0, i32** %a, align 4 > %call1 = call noalias i8* @_Znaj(i32 8) > %1 = bitcast i8* %call1 to i32* > store i32* %1, i32** %b, align 4 > ret void > } > > declare noalias i8* @_Znwj(i32) > declare noalias i8* @_Znaj(i32) > > What I am wondering now is: where do the _Znwj and _Znaj symbols come > from? Are they just ran...
2007 Mar 05
1
[LLVMdev] building llvm head on ubuntu with glibc-2.3.6
...glibc detected *** /home/ubuntu/llvm/obj/Debug/bin/tblgen: malloc(): memory corruption: 0x081f8a70 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0x401b81cd] /lib/tls/i686/cmov/libc.so.6(malloc+0x7f)[0x401b983f] /usr/lib/libstdc++.so.6(_Znwj+0x27)[0x400f24b7] /usr/lib/libstdc++.so.6(_Znaj+0x1d)[0x400f25ed] /usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE27_M_allocate_internal_bufferEv+0x3c)[0x4009558c] /usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x72)[0x40099772] /usr/lib/libstdc++.so.6(_ZNSt14basic_ofstreamIcSt11char_...