[llvm-bugs] [Bug 34752] New: MCWinCOFFStreamer::EmitAssemblerFlag not implemented

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 27 13:21:57 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34752

            Bug ID: 34752
           Summary: MCWinCOFFStreamer::EmitAssemblerFlag not implemented
           Product: libraries
           Version: 3.9
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: aartz at blizzard.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19207
  --> https://bugs.llvm.org/attachment.cgi?id=19207&action=edit
wow64 far call test

MCWinCOFFStreamer::EmitAssemblerFlag causes clang/llvm to segfault on windows
when you attempt to use any assembler flag (code64/code32/etc)

I assumed this was due to some greater incompatibility, but i copied the
functionality from the MACHO/ELF streamer and it is able to successfully
compile 64-bit code in a 32-bit binary.

I am wondering if this was merely overlooked or if it's simply unsupported due
to some compatibility issue on another layer.

I tagged the version at 3.9 because I'm using 3.9.0 final, but looking at 5.0
it seems the issue (if there is one at all) persists.

Attached is a test case that compiles and functions properly when
EmitAssemblerFlag is "enabled"

-- 
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/20170927/6db618b9/attachment-0001.html>


More information about the llvm-bugs mailing list