[LLVMbugs] [Bug 16366] New: MC/MCParser/COFFAsmParser cannot parse .section directive (but CodeGen generates it)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 18 15:49:25 PDT 2013


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

            Bug ID: 16366
           Summary: MC/MCParser/COFFAsmParser cannot parse .section
                    directive (but CodeGen generates it)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: jlerouge at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

As shown in the test/MC/COFF/linker-options.ll test, the backend happily
generates .section directives for i386-pc-win32 targets, but the COFFAsmParser
won't parse them back:

Win32> cat t.s
.section .drectve,"r"
.ascii " /foobar
Win32> clang -o t.o t.s
t.s:1:1: error: unknown directive
.section .drectve,"r"
^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130618/0fccc8ea/attachment.html>


More information about the llvm-bugs mailing list