Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] [proposal] Extensible IR metadata"
2009 Sep 11
0
[LLVMdev] [proposal] Extensible IR metadata
I've got a suggestion for a refinement:
Right now, we have classes like DILocation that wrap an MDNode* to
provide more convenient access to it. It would be more convenient for
users if instead of
MDNode *DbgInfo = Inst->getMD(MDKind::DbgTag);
Inst2->setMD(MDKind::DbgTag, DbgInfo);
they could write:
DILocation DbgInfo = Inst->getMD<DILocation>();
2009 Sep 11
4
[LLVMdev] [proposal] Extensible IR metadata
On Friday 11 September 2009 15:20, Jeffrey Yasskin wrote:
> I've got a suggestion for a refinement:
>
> Right now, we have classes like DILocation that wrap an MDNode* to
> provide more convenient access to it. It would be more convenient for
> users if instead of
>
> MDNode *DbgInfo = Inst->getMD(MDKind::DbgTag);
> Inst2->setMD(MDKind::DbgTag, DbgInfo);
>
2009 Sep 16
0
[LLVMdev] [proposal] Extensible IR metadata
On Fri, Sep 11, 2009 at 9:57 AM, Chris Lattner <clattner at apple.com> wrote:
> Devang's work on debug info prompted this, thoughts welcome:
> http://nondot.org/sabre/LLVMNotes/ExtensibleMetadata.txt
Here is partial initial implementation.
Thoughts ?
-
Devang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdn.diff
Type: application/octet-stream
2009 Sep 16
1
[LLVMdev] [proposal] Extensible IR metadata
On Tue, Sep 15, 2009 at 11:37 PM, Devang Patel <devang.patel at gmail.com> wrote:
> On Fri, Sep 11, 2009 at 9:57 AM, Chris Lattner <clattner at apple.com> wrote:
>> Devang's work on debug info prompted this, thoughts welcome:
>> http://nondot.org/sabre/LLVMNotes/ExtensibleMetadata.txt
>
> Here is partial initial implementation.
> Thoughts ?
setHasMetadata
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
2014 Nov 05
2
[LLVMdev] Inline Symbolication with -gsplit-dwarf
So, after many shenanigans, we finally have -gmlt-like inline summary debug
info in .debug_info when using -gsplit-dwarf (see r221306). Hooray \o/
Testing this with asan, it seems to be working:
Given a simple example of inlining failure:
$ cat asan.cpp
__attribute__((always_inline)) inline void func(int* i) { *i = 3; }
int main() {
func(nullptr);
}
The failures before this change:
#0
2019 Sep 11
4
Remove obsolete debug info while garbage collecting
Debuginfo and linker folks, we (AccessSoftek) would like to suggest a proposal for removing obsolete debug info. If you find it useful we will be happy to work on improving it. Thank you for any opinions and suggestions.
Alexey.
Currently when the linker does garbage collection a lot of abandoned debug info is left behind (see Appendix A for documentation). Besides inflated debug info size,
2010 Mar 16
2
[LLVMdev] Replacement for findStopPoint() in LLVM 2.7
Török Edwin wrote:
> On 03/16/2010 05:00 PM, John Criswell wrote:
>
>> Dear LLVMers,
>>
>> I'm updating some code to use the new LLVM 2.7 API. One piece of this
>> code uses the findStopPoint() function to find the source filename and
>> line number information of an instruction.
>>
>> What is the best way to do this under LLVM 2.7 now that
2014 Oct 23
2
[LLVMdev] debugloc metadata variation
(sorry for the duplicate Fred, I failed at reply-all the first time)
On Wed, Oct 22, 2014 at 6:33 PM, Frédéric Riss <friss at apple.com> wrote:
>
> > On Oct 22, 2014, at 4:57 PM, David Blaikie <dblaikie at gmail.com> wrote:
> >
> > Just working on some of the gmlt+fission debug info stuff and I came
> across a comment that might be relevant to reducing the
2016 Dec 15
1
distinct DISubprograms hindering sharing inlined subprogram descriptions
On Thu, Dec 15, 2016 at 11:35 AM Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> > On Dec 15, 2016, at 10:54 AM, David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Branching off from a discussion of improvements to DIGlobalVariable
> representations that Adrian's working on - got me thinking about related
> changes that have
2010 Mar 16
2
[LLVMdev] Replacement for findStopPoint() in LLVM 2.7
Dear LLVMers,
I'm updating some code to use the new LLVM 2.7 API. One piece of this
code uses the findStopPoint() function to find the source filename and
line number information of an instruction.
What is the best way to do this under LLVM 2.7 now that the stop point
intrinsic has been removed? It appears that the debug information is
attached as metadata, but what is the easiest way
2009 Sep 12
0
[LLVMdev] [proposal] Extensible IR metadata
On Sep 11, 2009, at 3:23 PM, David Greene wrote:
> I have a few questions and comments about Chris' initial proposal as
> well.
>
> - I don't like the separation between "built-in" metadata and
> "extended"
> metadata. Why not make all metadata use the RegisterMDKind
> interface and
> just have the LLVM libraries do it automatically for
2009 Jul 09
3
[LLVMdev] Source file information.
>> -----Original Message-----
>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On
>> Behalf Of Saman Aliari Zonouz
>> Sent: Thursday, July 09, 2009 11:44 AM
>> To: llvmdev at cs.uiuc.edu
>> Subject: [LLVMdev] Source file information.
>>
>> Hi,
>>
>> I am new to LLVM, and need to find the line number
2019 Sep 25
2
Remove obsolete debug info while garbage collecting
On Tue, Sep 24, 2019 at 11:22 PM Rui Ueyama via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Alexay,
>
> Thank you for the detailed explanation. The other question I have is, as
> discussed above, about dsymutil. You said that dsymutil is not usable at
> link-time. What does that mean? If we only have to emit an output file in
> the usual way and then automatically
2009 Jul 09
0
[LLVMdev] Source file information.
On 2009-07-09 11:17, Aaron Gray wrote:
>>> -----Original Message-----
>>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
>>>
>> On
>>
>>> Behalf Of Saman Aliari Zonouz
>>> Sent: Thursday, July 09, 2009 11:44 AM
>>> To: llvmdev at cs.uiuc.edu
>>> Subject: [LLVMdev] Source file
2019 Aug 02
2
how to submit inter-dependent llvm and clang patches
Hi,
I have two BPF related patches,
clang: https://reviews.llvm.org/D65615
llvm: https://reviews.llvm.org/D65617
The llvm patch changes one IR Builder function signature:
from:
Value *CreatePreserveArrayAccessIndex(Value *Base, unsigned Dimension,
unsigned LastIndex)
to
Value *CreatePreserveArrayAccessIndex(Value *Base, unsigned Dimension,
2014 Oct 22
3
[LLVMdev] debugloc metadata variation
Just working on some of the gmlt+fission debug info stuff and I came across
a comment that might be relevant to reducing the number of distinct
debugloc metadata nodes:
"or some sub-optimal metadata that
// isn't structurally identical (see: file path/name info from clang,
which
// includes the directory of the cpp file being built, even when the file
name
// is absolute (such as
2010 Mar 16
0
[LLVMdev] Replacement for findStopPoint() in LLVM 2.7
On 03/16/2010 05:00 PM, John Criswell wrote:
> Dear LLVMers,
>
> I'm updating some code to use the new LLVM 2.7 API. One piece of this
> code uses the findStopPoint() function to find the source filename and
> line number information of an instruction.
>
> What is the best way to do this under LLVM 2.7 now that the stop point
> intrinsic has been removed? It
2010 Mar 16
0
[LLVMdev] Replacement for findStopPoint() in LLVM 2.7
On 03/16/2010 05:21 PM, John Criswell wrote:
> Török Edwin wrote:
>> On 03/16/2010 05:00 PM, John Criswell wrote:
>>
>>> Dear LLVMers,
>>>
>>> I'm updating some code to use the new LLVM 2.7 API. One piece of
>>> this code uses the findStopPoint() function to find the source
>>> filename and line number information of an
2010 Mar 16
2
[LLVMdev] Replacement for findStopPoint() in LLVM 2.7
Török Edwin wrote:
> [snip]
>>> Something like this (you can of course cache TheMetadata and MDDbgKind)
>>>
>>> llvm::MetadataContext *TheMetadata = M->getContext().getMetadata();
>>> MDDbgKind = TheMetadata->getMDKind("dbg");
>>> if (MDDbgKind) {
>>> if (MDNode *Dbg = TheMetadata->getMD(MDDbgKind, I)) {
>>>