search for: addr2lin

Displaying 20 results from an estimated 81 matches for "addr2lin".

Did you mean: addr2line
2010 Jun 16
6
[LLVMdev] [patch] New feature: debug info in add2line format (--jit-emit-debug-addr2line)
This new option will allow to output function information in the same format as addr2line from binutils emits: ... 0xABCDEF01 T function_name_is_here ... This feature is useful to profile the code when it is run in JIT by external tools like valgrind and google-perftools. For example, google-perftools runs addr2line on executable and uses the resulting file to resolve memory address...
2015 Apr 22
2
[LLVMdev] what is the Line number of Phi Node with addr2line
Hi, all When compiling a program with -g -O0, and if we have a PC, then with addr2line, we can get the line number of the instruction. My quesions are: what is the result of Phi node instruction, can we get the similar results ? -- Best Regards! Eric Lew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/a...
2011 Jun 24
4
[LLVMdev] Missing symbols in pass stack trace
> That's a weird one. Does addr2line work? > $ addr2line -e CGF.so <address> cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t ../lib/CGF.so | grep flatten 0000000000005622 l F .text 0000000000000aa6 _ZN12_GLOBAL__N_111CGFFunction7flattenEv 00000000000041d6 l F .text 000000000000049c...
2006 Apr 23
5
ComboBox patch files
The following two files correct problems with the ComboBox implementation. You will also need my typemap.i.patch file (forthcoming) in order for the void * typemap to work properly (I think). Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
...t for real, so you can't. The are removed by PHI elimination as part of codegen. What are you trying to achieve? On Tue, Apr 21, 2015 at 9:12 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, all > > When compiling a program with -g -O0, and if we have a PC, then with > addr2line, we can get the line number of the instruction. > > My quesions are: what is the result of Phi node instruction, can we get the > similar results ? > > -- > Best Regards! > Eric Lew > > _______________________________________________ > LLVM Developers mailing list &g...
2009 Sep 16
2
[LLVMdev] llc and debug information
Thanks for the quick responses, but unfortunately still no luck: > llvm-g++ -g -O0 -c -emit-llvm test.cpp > llc -O0 test.o > g++ test.o.s > ./a.out My return address is 0x400bb2 > addr2line 0x400bb2 ??:0 Also to further implicate llc, this works: > llvm-g++ -g -O0 -S test.cpp > g++ test.s > ./a.out My return address is 0x400bf9 > addr2line 0x400bf9 /home/jalbert/llvmtest//test.cpp:13 Anymore thoughts? -Nick On Wed, Sep 16, 2009 at 2:29 PM, Devang Patel <devang.pa...
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
...; on the file you actually load, does it say it is stripped or non-stripped? > cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ file ../lib/CGF.so > ../lib/CGF.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped > That's a weird one. Does addr2line work? $ addr2line -e CGF.so <address> > > -- > Carlo Alberto Ferraris <cafxx at strayorange.com> > website/blog - +39 333 7643 235 > <cafxx.vcf>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu...
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
On Jun 24, 2011, at 12:36 PM, Carlo Alberto Ferraris wrote: > >> That's a weird one. Does addr2line work? >> $ addr2line -e CGF.so <address> > cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t ../lib/CGF.so | grep flatten > 0000000000005622 l F .text 0000000000000aa6 _ZN12_GLOBAL__N_111CGFFunction7flattenEv > 00000000000041d6 l F .text...
2011 Jun 24
2
[LLVMdev] Missing symbols in pass stack trace
> Are you loading the shared library directly from the build directory, > or are you installing it first? I'm invoking it directly, I guess:./opt -load=CGF.so -cgf -debug test.S should I install it? (I have no idea about how to do it, though...) > If you run "file CGF.so" on the file you actually load, does it say it > is stripped or non-stripped? cafxx at
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
...>> What are you trying to achieve? >> >> >> >> >> On Tue, Apr 21, 2015 at 9:12 PM, Eric Lu <eirc.lew at gmail.com> wrote: >> > Hi, all >> > >> > When compiling a program with -g -O0, and if we have a PC, then with >> > addr2line, we can get the line number of the instruction. >> > >> > My quesions are: what is the result of Phi node instruction, can we get >> > the >> > similar results ? >> > >> > -- >> > Best Regards! >> > Eric Lew >> > &gt...
2009 Sep 17
0
[LLVMdev] llc and debug information
Nick Jalbert wrote: > Thanks for the quick responses, but unfortunately still no luck: > > > llvm-g++ -g -O0 -c -emit-llvm test.cpp > > llc -O0 test.o > > g++ test.o.s > > ./a.out > My return address is 0x400bb2 > > addr2line 0x400bb2 > ??:0 > > Also to further implicate llc, this works: > > > llvm-g++ -g -O0 -S test.cpp > > g++ test.s > > ./a.out > My return address is 0x400bf9 > > addr2line 0x400bf9 > /home/jalbert/llvmtest//test.cpp:13 > > Anymore thoughts?...
2013 Oct 16
13
About arm32 address translation
Hi Ian, I am trying to add supporting dumping 32-bit guest on arm32 to see what happened in my dom0 kernel when booting. It seems gvirt_to_maddr() is not workable under arm32. But why has it been implemented both in include/asm-arm/arm{32,64}/page.h? Thanks. Baozi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2019 Jun 13
3
[docs] Updating the sphinx build bots
...;t see the issue with v0.4.0, but do with v0.5.0. The sphinx version doesn't seem to make any difference. I could downgrade my module version (and have temporarily done so). However, that leads to another issue: the links to llvm-symbolizer's page in https://llvm.org/docs/CommandGuide/llvm-addr2line.html are broken when building with 0.4.0. This can be fixed by changing the markdown doc to explicitly specify ".html" in the link, but this precise change is what breaks 0.5.0 (which otherwise produces working links in the llvm-addr2line doc). I think we should update the build bots ver...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...ons: http://www.chromium.org/developers/testing/addresssanitizer the Android instructions don't mention asan_symbolize.py https://code.google.com/p/address-sanitizer/wiki/Android When I use asan_symbolize.py (from Linux), I see no symbols in the stack trace and the following error messages: addr2line: '/data/example_UseAfterFree': No such file addr2line: '/data/libclang_rt.asan-arm-android.so': No such file addr2line: '/system/lib/libstdc++.so': No such file How can I decode those addresses in the stack trace? Is there a way to configure asan_symbolize.py to find my b...
2019 Mar 18
1
llvm symbolizer not able to parse debuginfo files
...om the .debug binaries/libraries, once ASAN shows any error; bash-4.2# /opt/rh/llvm-toolset-7/root/usr/bin/llvm-symbolizer --version LLVM (http://llvm.org/): LLVM version 5.0.1 Optimized build. Default target: x86_64-unknown-linux-gnu Host CPU: nocona I am getting the following error (The addr2line is working ok, also gdb is able to parse these files): python asan_symbolize.py < asan.log.173664 ================================================================= ==173664== ERROR: AddressSanitizer: heap-use-after-free on address 0x60040002ff90 at pc 0x7f83d22f91bb bp 0x7f83c17f3e40 sp 0x7f83...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...rs/testing/addresssanitizer > > the Android instructions don't mention asan_symbolize.py > https://code.google.com/p/address-sanitizer/wiki/Android > > When I use asan_symbolize.py (from Linux), I see no symbols in the stack > trace and the following error messages: > > addr2line: '/data/example_UseAfterFree': No such file > addr2line: '/data/libclang_rt.asan-arm-android.so': No such file > addr2line: '/system/lib/libstdc++.so': No such file > > How can I decode those addresses in the stack trace? Is there a way to > configure asan_s...
2015 May 13
2
[LLVMdev] Modifying debug information through llvm pass
Hi All, I want to change debug information of an llvm instruction so that the modified debug info is subsequently passed to executable binary. So if I use "addr2line" utility on the binary, it will return my modified debug information. I've tried to change by using the following code snippet: MDNode *N = Inst->getMetadata("dbg"); DebugLoc Loc = DebugLoc::get(newLine, newCol, N); Inst->setDebugLoc(Loc); I read the DebugL...
2009 Sep 16
3
[LLVMdev] llc and debug information
...return 0; } When I compile my test program to LLVM bytecode, and then use llc to take the bytecode to assembly, llc appears to strip the debugging information along the way: > llvm-g++ -g -c -emit-llvm test.cpp > llc test.o > g++ test.o.s > ./a.out My return address is 0x400b92 > addr2line 0x400b92 ??:0 My goal is to run a transformation pass on the bytecode to put in a few instrumentation hooks for a dynamic analysis I'm writing. Debug information, even if it's a little off, would be extremely useful to have in the final binary. This build chain worked with a 2.6svn vers...
2012 Aug 13
1
[LLVMdev] RFC: How can AddressSanitizer, ThreadSanitizer, and similar runtime libraries leverage shared library code?
(resurrecting the thread, as much is discussed here already) Formulating Kostya's suggestion: What do you think of compiling LLVM sources into ASan/TSan runtime by just taking the library sources, providing custom compiler (target) flags *and* a flag "-Dllvm=__sanitizer_llvm"? Yeah, it's hacky and applicable to LLVM libs, but OTOH we don't plan to use smth else for now (in
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
...this morning. How are your bots looking? Last good commit here was 512c616cacf70ca029a2bf719a482b902f3687cd. > You could try preprocessing your report with perl or sed to fix paths > to your binaries. It would be great to have an option for that in > asan_symbolize.py. > > As for addr2line, we just install binutils-multiarch ubuntu package. Cool, that gets the job done, thanks. Looks like there's some effort going into embedding the addr2line functionality into compiler-rt. Is that something folks are actively working on? > Tests are different: certainly tests that depen...