[LLVMbugs] [Bug 1013] NEW: Invalid assembly generated with DWARF2 and Obj-C GC

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 20 00:17:53 PST 2006


           Summary: Invalid assembly generated with DWARF2 and Obj-C GC
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: llvm-g++
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mark+llvm.org at bdash.net.nz

To reproduce:

-- objc_instance.m --
namespace {
  class JSValue {


$ llvm-gcc -save-temps -fobjc-gc -gdwarf-2 -c objc_instance.m
objc_instance.s:168:Rest of line ignored. 1st junk character valued 1 ().
$ head -n 168 objc_instance.s | tail -n 1 | xxd
0000000: 092e 6c6f 6e67 095f 014c 5f4f 424a 435f  ..long._.L_OBJC_
0000010: 494d 4147 455f 494e 464f 0a              IMAGE_INFO.

It appears that 0x01 has snuck into the symbol name between the _ and L in _L_OBJC_IMAGE_INFO.

------- 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