search for: _zdapv

Displaying 7 results from an estimated 7 matches for "_zdapv".

2013 Mar 11
2
[LLVMdev] How to detect all free() calls
...ete() call instructions in LLVM IR.The method is as follows. First I find Call Instructions: CallInst *CI=dyn_cast<CallInst>(&*i); then see if the Function name matches: name=CI->getCalledFunction()->getName(); if(name=="_ZdlPv"||name=="_ZdaPv"||name=="free") It worked but when something like this occurs %call2 = call i32 bitcast (i32 (...)* @free to i32 (i8*)*)(i8* %call1) nounwind, !dbg !16 It seems like a indirect function call and I don't know how to detect free() in such situation. By the way, is...
2009 Aug 18
0
[LLVMdev] Build issues on Solaris
...the GNU binutils and XPG4 versions of `nm' : -bash-3.2$ /usr/xpg4/bin/nm -p -u `find . -name libLLVMCore.a` | head ./Debug/lib/libLLVMCore.a[AsmWriter.o]: 0000000000 U __assert 0000000000 U __clzdi2 0000000000 U __udivdi3 0000000000 U __umoddi3 0000000000 U _GLOBAL_OFFSET_TABLE_ 0000000000 U _ZdaPv 0000000000 U _ZdlPv -bash-3.2$ /usr/bin/nm -p -u `find . -name libLLVMCore.a` | head ./Debug/lib/libLLVMCore.a[AsmWriter.o]: __assert __clzdi2 __udivdi3 __umoddi3 _GLOBAL_OFFSET_TABLE_ _ZdaPv _ZdlPv -bash-3.2$ /usr/bin/nm -p -g `find . -name libLLVMCore.a` | head ....
2013 Mar 11
2
[LLVMdev] How to detect all free() calls
...ons in LLVM IR.The method is as follows. > First I find Call Instructions: CallInst *CI=dyn_cast<CallInst>(&*i); > then see if the Function name matches: > name=CI->getCalledFunction()->getName(); > if(name=="_ZdlPv"||name=="_ZdaPv"||name=="free") > It worked but when something like this occurs > %call2 = call i32 bitcast (i32 (...)* @free to i32 (i8*)*)(i8* %call1) > nounwind, !dbg !16 > It seems like a indirect function call and I don't know how to detect > free() in such situa...
2013 Mar 11
0
[LLVMdev] How to detect all free() calls
...he method is as follows. >> First I find Call Instructions: CallInst *CI=dyn_cast<CallInst>(&*i); >> then see if the Function name matches: >> name=CI->getCalledFunction()->getName(); >> if(name=="_ZdlPv"||name=="_ZdaPv"||name=="free") >> It worked but when something like this occurs >> %call2 = call i32 bitcast (i32 (...)* @free to i32 (i8*)*)(i8* %call1) >> nounwind, !dbg !16 >> It seems like a indirect function call and I don't know how to detect >>...
2009 Aug 11
6
[LLVMdev] Build issues on Solaris
Hi all, I've encountered a couple of minor build issues on Solaris that have crept in since 2.5, fixes below: 1. In lib/Target/X86/X86JITInfo.cpp, there is: // Check if building with -fPIC #if defined(__PIC__) && __PIC__ && defined(__linux__) #define ASMCALLSUFFIX "@PLT" #else #define ASMCALLSUFFIX #endif Which causes a link failure due to the non-PLT
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...0000000000005 Base _Znam 0000000000000000 DF *UND* 0000000000000125 GLIBC_2.2.5 getgrgid 0000000000000000 DF *UND* 0000000000000025 GLIBC_2.2.5 access 0000000000000000 DO *UND* 0000000000000008 Base stdscr 0000000000000000 DF *UND* 0000000000000005 Base _ZdaPv 0000000000000000 DF *UND* 0000000000000003 GLIBC_2.2.5 pthread_mutexattr_destroy 0000000000000000 DF *UND* 0000000000000026 Base waddch 0000000000000000 DF *UND* 0000000000000025 GLIBC_2.2.5 getrlimit 0000000000000000 DF *UND* 0000000000000008 Base _ZNSt13excep...
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
Hello, I update my building scripts to build LLVM 4.0 RC1 (with clang, lldb, libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols during linking LLDB. I'm using clang-3.9 and this configuration: -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++