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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to