DirectXShaderCompiler/lib
Joshua Batista 9468120e6c
[Validation] Prevent instructions that accept handle arguments from accepting malformed handle arguments (#5399)
Except for Output Complete, instructions should not accept handle
arguments that are undefs / zeroinitializers, and should emit a
diagnostic when this happens. This PR adds tests to specifically
exercise the cases where a call instruction :

1.  receives an undef argument
2.  receives a zeroinitializer argument
3.  receives a handle argument that is invalid

And combines these cases with all different types of handle arguments
(resource handle, node handle, and node record handle)
This PR intends to at least implement the first work item in
[#5356](https://github.com/microsoft/DirectXShaderCompiler/issues/5356)
2023-07-21 18:06:03 -07:00
..
Analysis Remove some warnings from GCC when building DXC (#5262) 2023-06-02 13:10:20 -07:00
AsmParser Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Bitcode Remove some warnings from GCC when building DXC (#5262) 2023-06-02 13:10:20 -07:00
CodeGen Change getPassName return type to StringRef. (#4247) 2022-02-10 14:14:43 -08:00
DXIL Merged PR 5704: Add SM 6.8 preview features to release-preview-1.8.2306 2023-06-21 01:59:32 +00:00
DebugInfo Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
DxcBindingTable Added -binding-table-define (#4044) 2021-11-01 18:46:13 -07:00
DxcSupport Merged PR 5704: Add SM 6.8 preview features to release-preview-1.8.2306 2023-06-21 01:59:32 +00:00
DxilCompression [NFC] Address some low hanging fruit UBSan failures (#4833) 2022-12-10 11:42:25 -06:00
DxilContainer Merged PR 5704: Add SM 6.8 preview features to release-preview-1.8.2306 2023-06-21 01:59:32 +00:00
DxilDia Add missing headers for clang with libc++ builds (#5285) 2023-06-14 18:39:55 -07:00
DxilPIXPasses [PIX] Add pass to log DXR 1.0 shader invocation info into a UAV (#5301) 2023-06-16 14:01:18 -07:00
DxilPdbInfo Clean up and rework DXIL library depencencies (#4877) 2023-01-03 10:04:22 -06:00
DxilRootSignature Remove some warnings from GCC when building DXC (#5262) 2023-06-02 13:10:20 -07:00
DxrFallback Fix the link issue in readme.md (#3149) 2020-09-22 13:02:56 -07:00
ExecutionEngine Rename 'module' to 'hModule' for C++20 compat (#2667) 2020-03-01 18:12:31 -08:00
Fuzzer Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00
HLSL [Validation] Prevent instructions that accept handle arguments from accepting malformed handle arguments (#5399) 2023-07-21 18:06:03 -07:00
IR build: add exception header (#5112) 2023-03-23 15:12:54 +00:00
IRReader Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
LTO Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Linker [linux-port] Minor changes towards cross-platform compilation. (#1352) 2018-06-19 10:36:53 -04:00
MC Fix build failure with undefined variable (#3647) 2021-03-31 09:54:00 -04:00
MSSupport Move WinAdapter into interface directory (#5066) 2023-02-28 10:41:50 -08:00
Object Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Option Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
PassPrinters Change getPassName return type to StringRef. (#4247) 2022-02-10 14:14:43 -08:00
Passes Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
ProfileData [linux-port] Evade unused in LLVM code (#1327) 2018-06-05 14:07:51 -04:00
Support Add missing headers for clang with libc++ builds (#5285) 2023-06-14 18:39:55 -07:00
TableGen Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
Target [linux-port] Fix warnings from lambda functions (#1320) 2018-05-31 13:39:26 -04:00
Transforms Merged PR 5704: Add SM 6.8 preview features to release-preview-1.8.2306 2023-06-21 01:59:32 +00:00
CMakeLists.txt Clean up and rework DXIL library depencencies (#4877) 2023-01-03 10:04:22 -06:00
LLVMBuild.txt Clean up and rework DXIL library depencencies (#4877) 2023-01-03 10:04:22 -06:00