Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] llc and debug information"
2009 Sep 16
0
[LLVMdev] llc and debug information
On Wed, Sep 16, 2009 at 1:34 PM, Nick Jalbert <jalbert at eecs.berkeley.edu> wrote:
> Hi all,
> I'm having an issue with debug information and llc. A test program:
> #include <iostream>
> using namespace std;
> void foo() {
> cout << "My return address is " << __builtin_return_address(0) <<
> endl << flush;
> }
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
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
>
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
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
_ZN12_GLOBAL__N_111CGFCallSite7flattenEv
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
2011 Jun 11
1
[LLVMdev] alpha assembler with llc
Hi,
I configure llvm to generate code for alpha. I use a the following steps to
generate code from the source files:
1) llvm-gcc -c main.c -emit-llvm main.bc
2) opt -load <library fo myPass> -myPass main.bc main.opt.bc
3) llc -march=alpha main.opt.bc -o main.S
4) alphaev67-unknown-linux-gnu-as main.S -o main.o
Most of the files that i compile run just fine. Suddenly, i have hit on a
file
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
On Jun 24, 2011, at 11:03 AM, Carlo Alberto Ferraris wrote:
>
>> 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
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
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:
2020 Sep 30
3
Kerberos ticket lifetime
> On 30 Sep 2020, at 21:42, Jason Keltz via samba <samba at lists.samba.org> wrote:
>
>
> On 9/30/2020 3:01 PM, Remy Zandwijk via samba wrote:
>>>>> On the client, add:
>>>>>
>>>>> gensec_gssapi:requested_life_time = <int> # seconds
>>>>>
>>>>> to smb4.conf. E.g. a ticket life time of one hour:
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
Hi, Daniel
I want to profile load/store operations, in order to reduce the overhead of
profiling, I try to instrument the optimized llvm ir, which has phi nodes.
BTW, when the value of some load/store operations may have multi-source,
then the load will be translated into phi nodes, and all phi nodes are
placed in the front of BB. Sometimes, the position is not where the load
happens, is there
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
> Cool, can you use clang 3.3 then? :)
I can, but digging deeper I see that the compiler-rt sanitizer tests depend
on just-built-clang for its object instrumentation. The next time the
instrumentation changes, I'd expect those tests to break. If the lit tests
that require -fsanitize were moved to the clang repo, then I think it'd be
safe to build compiler-rt with clang 3.3 or gcc
2011 Sep 19
3
[LLVMdev] Suggested base version for adding a new backend?
Good morning,
What is the general consensus about using LLVM 2.9 vs tip of tree for
developing new backends? Is LLVM 2.9 still recent enough to make
forward porting easy once 3.0 comes out? Is tip of tree considered
stable enough for non-core development?
My reason for asking is that a fellow grad student and I are about to
start implementing a new backend for RISK-V - a research
2020 Nov 12
2
nfs root kerberos
On 11/11/2020 10:54, Jason Keltz via samba wrote:
> Hi Louis,
> I've looked into that and I'm not sure how this would be done?
> By the way, even with your NFS translation fix (which doesn't work for me because gssproxy), do you do this before accessing root files..?
> sudo root
> kinit -k 'host$'
>
OK, after a bit of a battle, I now have a Centos 7 Unix
2019 Jun 13
3
[docs] Updating the sphinx build bots
Hi,
TL;DR - We should update the bot(s) responsible for building the LLVM
documentation so that they use recommonmark 0.5.0, and apply
https://reviews.llvm.org/D63211.
Full context:
I recently started trying to build the sphinx docs. However, a change by
Jordan (r363100) resulted in me no longer being able to build them, even
though the build bots were green and he could build them himself.
2020 Nov 12
2
nfs root kerberos
On 12/11/2020 13:27, Jason Keltz via samba wrote:
>
> On 11/12/2020 8:17 AM, Rowland penny via samba wrote:
>> On 11/11/2020 10:54, Jason Keltz via samba wrote:
>>> Hi Louis,
>>> I've looked into that and I'm not sure how this would be done?
>>> By the way, even with your NFS translation fix (which doesn't work
>>> for me because
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
2020 Nov 09
2
nfs root kerberos
On 11/9/2020 3:00 PM, Rowland penny via samba wrote:
> On 09/11/2020 19:41, Jason Keltz via samba wrote:
>> Hi.
>>
>> I have Samba AD configured correctly, and can mount kerberized NFS
>> from all the CentOS 7 clients.? I'm not able to use "root" on the
>> client even though the nfs export specifies the option:
>> no_root_squash option.
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 =