[llvm-commits] [llvm] r100072 - in /llvm/trunk: include/llvm/Support/DebugLoc.h lib/VMCore/DebugLoc.cpp lib/VMCore/LLVMContextImpl.h
Chris Lattner
clattner at apple.com
Thu Apr 1 15:55:35 PDT 2010
On Apr 1, 2010, at 1:28 PM, nicolas geoffray wrote:
> Hi Chris,
>
> On Thu, Apr 1, 2010 at 2:48 AM, Chris Lattner <clattner at apple.com> wrote:
> > Machine-generated code often goes over 255 columns. Are you sure you want to design this limitation in?
>
> Yep. Only clang generates column numbers, and I don't know of any debuggers that do anything with them. We can always change this in the future.
>
>
>
> Actually, I was using these values (column, line number) to store some runtime informations on an instruction (line number in a Java source file, Java bytecode number, etc). While I know that the interface is somehow not fully defined yet for debug location, having the possibility to get a number of high-level information on a machine instruction through this debugging utility was really useful.
Sure, you're welcome to continue doing that with metadata, just don't use the !dbg tag.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100401/bdf7731c/attachment.html>
More information about the llvm-commits
mailing list