diff options
author | Xiang Li <python3kgae@outlook.com> | 2022-04-22 22:56:15 -0700 |
---|---|---|
committer | Xiang Li <python3kgae@outlook.com> | 2022-08-04 16:54:19 -0700 |
commit | 8a27a2f89f83c55d352c001b3b308c35900cbdfc (patch) | |
tree | aa5fcd61fa8a0c198af3298735e1bfe4236b044d /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 4982d8ac7694591d541492faac0f6d9091a18540 (diff) | |
download | llvm-8a27a2f89f83c55d352c001b3b308c35900cbdfc.zip llvm-8a27a2f89f83c55d352c001b3b308c35900cbdfc.tar.gz llvm-8a27a2f89f83c55d352c001b3b308c35900cbdfc.tar.bz2 |
[HLSL] Support -E option for HLSL.
-E option will set entry function for hlsl.
The format is -E entry_name.
To avoid conflict with existing option with name 'E', add an extra prefix '--'.
A new field HLSLEntry is added to TargetOption.
To share code with HLSLShaderAttr, entry function will be add HLSLShaderAttr attribute too.
Reviewed By: beanz
Differential Revision: https://reviews.llvm.org/D124751
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions