aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorXiang Li <python3kgae@outlook.com>2024-07-01 10:44:26 -0700
committerGitHub <noreply@github.com>2024-07-01 13:44:26 -0400
commit75ec24e875762f038bf490d6e3fa5d4743d7afd1 (patch)
treee8fe630a00e607f4e42b1d03dd56bac40c475dad /llvm/lib/MC/MachObjectWriter.cpp
parent9f3bfbb680e6cef9c5b902dac4ad541b99e1ea6a (diff)
downloadllvm-75ec24e875762f038bf490d6e3fa5d4743d7afd1.zip
llvm-75ec24e875762f038bf490d6e3fa5d4743d7afd1.tar.gz
llvm-75ec24e875762f038bf490d6e3fa5d4743d7afd1.tar.bz2
[HLSL][clang][Driver] Fix error when using the option -fcgl in --driver-mode=dxc. (#97001)
When -fcgl is set in --driver-mode=dxc, both -S and -emit-llvm are currently enabled. This results in the following error: ``` error: '-S' action ignored; '-emit-llvm' action specified previously. ``` This change fixes the issue by not rendering -S in RenderHLSLOptions. Additionally, a test has been added to ensure that enabling -fcgl does not trigger any diagnostics Fixes #97296
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions