[llvm-bugs] [Bug 36117] New: The -fdiagnostic-format option is not being passed from the driver to the assembler job
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 26 18:32:30 PST 2018
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: unassignedclangbugs at nondot.org
Reporter: konstantin.belochapka at sony.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180127/b2554c45/attachment.html>
More information about the llvm-bugs
mailing list