[LLVMbugs] [Bug 8353] New: r115248 break generation of debugging info for obj-C ivars

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 11 10:11:02 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8353

           Summary: r115248 break generation of debugging info for obj-C
                    ivars
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: devlists at shadowlab.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5601)
 --> (http://llvm.org/bugs/attachment.cgi?id=5601)
Sample

The attempt to fix rdar://8493239 in r115248 breaks generation of debugging
informations for Obj-C ivars.

For the record: 
------------------------
r115248 - 02:01 - fjahanian
Output debug info. for ivars declared in class
extension and implementation.
Fixes rdar://8493239
------------------------

After this change, all ivars are declared in dwarf as having the same offset,
and so the debugger display wrong information.

You can easily show the bug in the attached archive. Just compare foo_x86.s
generated using clang rev 115247 and r115248. The only differences are clang
revision and the ivar offsets in dwarfs info.

Ditto for foo_x86_64.s. 

Maybe removing the test was not the good way to fix the problem ;-)
------------------------
r115258 - 03:01 - fjahanian
Remove test until further notice.
D    /cfe/trunk/test/CodeGenObjC/debug-info-default-synth-ivar.m
------------------------

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list