[LLVMbugs] [Bug 927] NEW: Get Rid Of Annotations

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 27 12:04:57 PDT 2006


           Summary: Get Rid Of Annotations
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com

We should get rid of Annotable and Annotation in llvm/Support/Annotation.h.  We
continue get misuse of this feature and questions about it. Such as:
On Wed, 2006-09-27 at 12:36 -0700, Chris Lattner wrote:
On Tue, 26 Sep 2006, Bram Adams wrote:
> >
> > A limitation here is that only Functions' debug data can be kept, as
> > other Values (i.e. Instructions) are not Annotable. Is this an explicit
> > design decision?
> Yes, we intentionally do not want things to be annotatable.  In fact, 
> Function being annotatable is a wart due to the way the code generator 
> currently works.  In general, we prefer to keep data in on-the-side maps 
> instead of attached to the IR.  The mailing list has archives of extensive 
> discussion about this sort of thing.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list