similar to: [LLVMdev] Possibility of Corruption of debug metadata

Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] Possibility of Corruption of debug metadata"

2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
On Oct 12, 2010, at 4:28 PM, shankha <shankhabanerjee at gmail.com> wrote: > Hi, > If I convert global variables to thread-local variables or vice versa > at the IR stage do I have to take care of the debug metadata. If you provide an small concrete example then it would help, Devang > I looked at the IR generated and I couldn't find any difference > between the debug
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang, I convert all global variables in a file to thread local at the IR level. i.e. compile example_llvm.c to IR example_llvm.ll and change global variables to thread-local variables. I also insert a function call just before access of the global(now thread-local) variable. I also insert a local variable in main. Does these operations in any way effect the debug metadata ? I do not face
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang, On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at apple.com> wrote: > In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet. Does that mean I will not be able to debug applications which use tls through gdb if they are build with gcc-lllvm or clang. > On Oct 13, 2010, at 8:30 AM, shankha
2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
On Oct 13, 2010, at 10:09 AM, shankha wrote: > Hi Devang, > > On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at apple.com> wrote: >> In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet. > > Does that mean I will not be able to debug applications which use tls > through gdb if they
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang, Is there any particular reason as to why debug info support for tls hasn't been implemented. Is the feature in pipeline ? How hard is it to implement ? On Wed, Oct 13, 2010 at 4:12 PM, Devang Patel <dpatel at apple.com> wrote: > > On Oct 13, 2010, at 10:09 AM, shankha wrote: > > Hi Devang, > > On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at
2010 Oct 20
0
[LLVMdev] Possibility of Corruption of debug metadata
Shankha, AFAIK, nobody is actively working on debug info for TLS at the moment. On Oct 13, 2010, at 3:19 PM, shankha wrote: > Hi Devang, > Is there any particular reason as to why debug info support for tls > hasn't been implemented. > Is the feature in pipeline ? How hard is it to implement ? - Devang
2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet. On Oct 13, 2010, at 8:30 AM, shankha wrote: > I do not face any issues debugging my test case. But while debugging > my application > through gdb I cannot make sense of the call stack. I do not see the > function names in > the call stack (with or
2010 Jul 14
2
[LLVMdev] Figuring out the parameters of the Call Instruction
Hi, I am trying to figure out how to read arguments of a call instruction. I had few questions based on that I have the following C Code 1 #include <stdio.h> 2 3 struct my_struct 4 { 5 int a; 6 int b; 7 }; 8 9 struct my_struct abc; 10 void p_ptr ( unsigned long j) 11 { 12 printf ( "%lx \n", j ); 13 } 14 15 void struct_ptr ( struct my_struct *
2010 Jul 15
0
[LLVMdev] Figuring out the parameters of the Call Instruction
Hi Shankha, > 24 p_ptr ((unsigned long)&abc); > call void @p_ptr(i64 ptrtoint (%struct.my_struct* @abc to i64)) > nounwind, !dbg !31 > > Q.1 At line no 24 I try to read the address of global variable abc. > The address is type casted > from struct * to int * for which ptrtoint. I guess you mean "is type casted from struct * to unsigned
2010 Jul 03
1
[LLVMdev] generating src code along with LLVM assembly from byte code
Hi, Are there any options that can be used with llvm-dis to generate LLVM assembly along with source code if the original byte code had been built with -g. e.g. objdump -D -d -S -l executable gives you the source code listing along with the assembly. -- Thanks Shankha
2010 Jul 15
1
[LLVMdev] Figuring out the parameters of the Call Instruction
Hi Duncan, Thanks for pointing out my mistake. I will reword my questions. //C code int var1; //global int a, b; foo(a, b); bar(c); generates following //LLVM IR %1 = load a; %2 = load b; call foo(%1, %2) call bar(@var1) CallInst.getOperand(1).getNameStr() on foo, returns null, but on bar returns var1. Similarly, for call void @p_ptr(i64 ptrtoint (%struct.my_struct* @abc to i64)) nounwind,
2010 Oct 14
1
[LLVMdev] More DIFactory questions - still stumped
On Mon, Oct 11, 2010 at 11:12 AM, Devang Patel <dpatel at apple.com> wrote: > > On Oct 11, 2010, at 11:04 AM, Talin wrote: > > On Mon, Oct 11, 2010 at 10:43 AM, Chris Lattner <clattner at apple.com>wrote: > >> >> On Oct 11, 2010, at 8:17 AM, Devang Patel wrote: >> >> >> Interestingly enough, I just upgraded to the latest Ubuntu (10.10 -
2010 Oct 11
2
[LLVMdev] More DIFactory questions - still stumped
On Mon, Oct 11, 2010 at 10:43 AM, Chris Lattner <clattner at apple.com> wrote: > > On Oct 11, 2010, at 8:17 AM, Devang Patel wrote: > > >> Interestingly enough, I just upgraded to the latest Ubuntu (10.10 - > Maverick Meercat), and the LLVM-generated code no longer builds: I get the > following error in the assembler stage (after the bitcode is converted to >
2010 Oct 11
0
[LLVMdev] More DIFactory questions - still stumped
On Oct 11, 2010, at 11:04 AM, Talin wrote: > On Mon, Oct 11, 2010 at 10:43 AM, Chris Lattner <clattner at apple.com> wrote: > > On Oct 11, 2010, at 8:17 AM, Devang Patel wrote: > > >> Interestingly enough, I just upgraded to the latest Ubuntu (10.10 - Maverick Meercat), and the LLVM-generated code no longer builds: I get the following error in the assembler stage
2008 Mar 15
4
[LLVMdev] Array Dependence Analysis
As part of the advanced compilers course semester project (at UIUC), we are starting to implement array dependence analysis for LLVM. As of now we are considering GCD and Banerjee tests. Any suggestion on features, tests and/or interface are welcome. Our deadline is at the beginning of may so hopefully by then we will have a working prototype to submit. -- Alexandre X. Duchâteau & Albert
2006 Jul 20
2
How can I watch IO operations with dtrace on zfs?
I have been using iosoop script (see http://www.opensolaris.org/os/community/dtrace/scripts/) written by Brendan Gregg to look at the IO operations of my application. When I was running my test-program on a UFS filesystem I could see both read and write operations like: UID PID D BLOCK SIZE COMM PATHNAME 203803 4436 R 6016592 16384 diskio <none> 203803 4436 W 3448432
2010 Oct 13
11
DMTF Mode
Hi, Which DTMF mode do people mostly use? I've tried SIP INFO and RFC2833 but although Asterisk recognises the tones (for feature usage), the tones arent repeated to the end user. So if I call a company that has a menu system, I can't use the menu. Thanks Dan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Nov 25
3
[LLVMdev] DebugInfo and Metadata Store
Hi All, Now, in llvm trunk we support custom metadata, which can be attached with llvm instructions. One of the user is "debugging information". This user is special (not just because it is in llvm svn tree:) because whenever debug info is available, it is likely that corresponding metadata is attached with almost all instructions. In other words, usually it is all or nothing. This
2016 Oct 26
3
Automated population of Reverse PTR on Samba 4.4.5 integrated with Bind 9.9.4
Hi experts , Is it possible to have automated population of Reverse PTR on Samba 4.4.5 integrated with Bind 9.9.4 ? I have tried creating the Reverse zone too . When a client ( windows ) joins the SAMBA domain the forward lookup is populated with correct host-name and present IP , but reverse zone does not have any entry . Although I can create reverse PTR manually . Kindly help me with
2010 Dec 06
4
[LLVMdev] question on generating dwarf metadata
On 12/06/2010 12:03 PM, Devang Patel wrote: > As I understand, you are not interested in 'how to use DIFactory'. Do you want > to know what are the fields of metadata to encode debug info for a local variable ? > That'd be > > !7 = metadata !{ > i32, ;; Tag (see below) > metadata, ;; Context > metadata, ;; Name > metadata, ;; Reference to