[llvm-bugs] [Bug 24809] New: MS-COFF: incorrect thumb Code16Directive and comment string

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 14 01:07:33 PDT 2015


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

            Bug ID: 24809
           Summary: MS-COFF: incorrect thumb Code16Directive and comment
                    string
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: pagingio at 163.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Assembly file generated by llc compiler uses incorrect ".code16" directive.
At the same time, comment string starts with "#".

A possible fix:

ARMCOFFMCAsmInfoMicrosoft::ARMCOFFMCAsmInfoMicrosoft() {
  AlignmentIsInBytes = false;

+  CommentString = "@";
+  Code16Directive = ".thumb";

  PrivateGlobalPrefix = "$M";
}

-- 
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/20150914/d6081933/attachment.html>


More information about the llvm-bugs mailing list