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

            Bug ID: 36117
           Summary: The -fdiagnostic-format option is not being passed
                    from the driver to the assembler job
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: konstantin.belocha...@sony.com
                CC: llvm-bugs@lists.llvm.org

Reproducible test.s:

.section .text
.global TestFunc_ASM

TestFunc_ASM:
    nop
    nop
    deliberate_error
    ret

1) -fdiagnostic-format option is not being passed from the driver to the
assembler

$ clang -fdiagnostics-format=msvc test.s
clang: warning: argument unused during compilation: '-fdiagnostics-format=msvc'
test.s:7:5: error: invalid instruction mnemonic 'deliberate_error'
    deliberate_error
    ^~~~~~~~~~~~~~~~


2) The assembler does not support this option. 

$clang  -cc1as -fdiagnostics-format=msvc -fno-show-column source1.s
clang -cc1as: error: unknown argument: '-fdiagnostics-format=msvc'
clang -cc1as: error: unknown argument: '-fno-show-column'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to