search for: getlineinfofordata

Displaying 4 results from an estimated 4 matches for "getlineinfofordata".

2012 May 05
2
[LLVMdev] DebugInfo library
...I see the resulting interface along the lines of: class DILineInfo { *const char *Name;* const char *FileName; uint32_t Line; uint32_t Column; ... }; class DIContext { ... virtual *bool* getLineInfoFor*Code*(uint64_t *pc, SmallVector<**DILineInfo> *res*) = 0; * virtual bool getLineInfoForData(uint64_t address, **DILineInfo *res**) = 0;* }; Any comments/suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120505/964ef541/attachment.html>
2012 May 06
2
[LLVMdev] DebugInfo library
...gt; > const char *FileName; > > uint32_t Line; > > uint32_t Column; > > ... > > }; > > > > class DIContext { > > ... > > virtual bool getLineInfoForCode(uint64_t pc, SmallVector<DILineInfo> > *res) = 0; > > virtual bool getLineInfoForData(uint64_t address, DILineInfo *res) = 0; > > }; > > > > Any comments/suggestions? > > > > > The public DebugInfo interface was designed around a very specific use > case, extracting file/line/column triples from an object file, so not much > thought went into i...
2012 May 05
0
[LLVMdev] DebugInfo library
...t; > class DILineInfo { > const char *Name; > const char *FileName; > uint32_t Line; > uint32_t Column; > ... > }; > > class DIContext { > ... > virtual bool getLineInfoForCode(uint64_t pc, SmallVector<DILineInfo> *res) = 0; > virtual bool getLineInfoForData(uint64_t address, DILineInfo *res) = 0; > }; > > Any comments/suggestions? > The public DebugInfo interface was designed around a very specific use case, extracting file/line/column triples from an object file, so not much thought went into it. However, the only user is llvm-objdump...
2012 May 06
0
[LLVMdev] DebugInfo library
...me; > > const char *FileName; > > uint32_t Line; > > uint32_t Column; > > ... > > }; > > > > class DIContext { > > ... > > virtual bool getLineInfoForCode(uint64_t pc, SmallVector<DILineInfo> *res) = 0; > > virtual bool getLineInfoForData(uint64_t address, DILineInfo *res) = 0; > > }; > > > > Any comments/suggestions? > > > > > The public DebugInfo interface was designed around a very specific use case, extracting file/line/column triples from an object file, so not much thought went into it. Howev...