<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55294>55294</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Add dxc options which has existing clang option to alias.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          python3kgae
      </td>
    </tr>
</table>

<pre>
    Add options which has alias clang option in https://github.com/microsoft/DirectXShaderCompiler/blob/master/include/dxc/Support/HLSLOptions.td
to clang dxc mode.

Start from commonly used ones like -D -I -Od -ast-dump.

For things already existing in clang option, just add one in dxc mode and alias to the clang one.
Need to add the option to ForwardedArguments of RenderHLSLOptions function in clang\lib\Driver\ToolChains\Clang.cpp.
In case the name conflict with cl mode option, add "--" prefix to the begin of prefix names when declare the option like Option<["--", "/", "-"].



</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9kk1vnDAQhn8NXCwQi9dZ7YHDllXUSFEjdXvo1R8DODE2sk2S_fcdw9IkqlQJDfaMPX7emRFOXZuTUsRNUTsbyNug5UAGHgg3Gq003Pa3KNGWDDFOIaOnrL7Hr9dxmEUp3YibUUvvgusirs_ag4y_LwNX4Fs3TtqAR78wTqSjPMRlr600swJcqXeJ9jJPk_Mpw_fHy-PTClVGlVXnrDpFd-PBw2R0CsrVv9pL5D6SzruRINDorLmSOQBqsxCI0S9AijMpHkjxpEiBBIWax-lLinvnSRy07ZN8D1xdCbzrENGTxH8uRla35HkOkXC1vJDiGxbhVt3qh8hxgO2m3Yh_AHJhLF1O8VuB0YMIb9wrUCffzyPYGIjryE-wWMhPNSHdbOXWlCV7xlqjBdqz169YXNb-cs60A9c24KZNZ0o5bYIf8BoPsLxu-YiIznZGy0jesKmYclXyITahZnVdFGjI5KHT75s6AT1SIObNnfKlUQIsCSCch88il06sMjLaZuzbljW9svzuPzaLn52_dGm1uWqoOtIjz6OOBhpMlOqDh0ka6NSLf4f6bze_zHVqROpWmc_eNP8ZcWNet18xefeMM56GOIQZAi4Yq4_7fGiE7Bg7HDgVBynlEXaw3-_rjh3vdpJ2rM4NF2BCs2pfqBeVuW7qqq4rVjG0B0pLXou7A91RUVNR7RjN9hWMXJsyIZTO97lvFhox9wGDBuWFjyAPQfcWluKk_HyOg_PNdMWfpS89h3yBbxbyP7pdU5c">