Displaying 5 results from an estimated 5 matches for "func_addr".
Did you mean:
func_add
2017 Apr 28
2
LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
...It never finds main().
50 first_func = LLVMGetFirstFunction(module);
(gdb) next
151 last_func = LLVMGetLastFunction(module);
(gdb)
154 for (func = first_func; func != last_func; func =
LLVMGetNextFunction(func)) {
(gdb)
155 func_name = LLVMGetValueName(func);
(gdb)
156 func_addr = LLVMGetFunctionAddress(engine, func_name);
(gdb) print func_name
$9 = 0x1efe180 "matmul"
(gdb) next
159 if (!func_addr) continue;
(gdb)
161 symbol_table_add(symbol_table, func_name, func_addr);
(gdb)
164 if ((size = mem_region_lookup(mem_region_anchor, func_addr)))...
2015 Jan 26
3
[LLVMdev] Backend optimizations
Hi,
I'm writting an intrinsics for the X86 plateform that replace every
'call' instruction by a 'push ret_addr' followed by a 'jmp func_addr'.
I'm doing this in the X86ISelLowering class with a custom inserter.
So if I have something like this:
0x0 call foobar
0x1 ...
the call will be replaced like this:
0x0 push 0x2
0x1 jmp foobar_addr
0x2 ...
This works fine in -O0, but when I try to compile in -O1,2,3, my program
fails....
2016 Sep 07
2
Test failures building RELEASE_3.9.0/final
...tch_error () from
/lib64/ld-linux-x86-64.so.2
#13 0x00007ffff7126521 in ?? () from /usr/lib/libdl.so.2
#14 0x00007ffff7126068 in dlsym () from /usr/lib/libdl.so.2
#15 0x000000000041983c in __interception::GetRealFunctionAddress
(func_name=func_name at entry=0x49c9f8 "__isoc99_printf",
func_addr=func_addr at entry=0x2b2d8d8
<__interception::real___isoc99_printf>, real=real at entry=4592528,
wrapper=wrapper at entry=4592528)
at ../projects/compiler-rt/lib/interception/interception_linux.cc:23
#16 0x0000000000476ecf in InitializeCommonInterceptors () at
../projects/compiler-rt/lib/...
2016 Sep 07
2
-fsanitize=memory failing on 3.9.0
...l_catch_error () from /lib64/ld-linux-x86-64.so.2
#13 0x00007ffff74ae521 in ?? () from /usr/lib/libdl.so.2
#14 0x00007ffff74ae068 in dlsym () from /usr/lib/libdl.so.2
#15 0x00000000004193cc in __interception::GetRealFunctionAddress
(func_name=func_name at entry=0x499bb8 "__isoc99_printf",
func_addr=func_addr at entry=0x2b298d8
<__interception::real___isoc99_printf>,
real=real at entry=4591392, wrapper=wrapper at entry=4591392) at
../projects/compiler-rt/lib/interception/interception_linux.cc:23
#16 0x0000000000476a5f in InitializeCommonInterceptors () at
../projects/compiler-rt/lib/...
2016 Sep 07
4
Test failures building RELEASE_3.9.0/final
I've "successfully" built 3.9.0 release but when I run "ninja check-all" I
got 208 Unexpected failures:
Expected Passes : 33997
Expected Failures : 198
Unsupported Tests : 685
Unexpected Failures: 208
Below is the log I captured running "time ninja check-all | tee
ninja-check-all.txt"
https://drive.google.com/open?id=0B-KTY7zi7eZHU2hGYTRtd01QZjA