DirectXShaderCompiler/lib
Tex Riddell f4965b71dd Integrate dxcapi v2 and other changes from internal (#2575)
* Integrate changes from internal.

- dxcapi v2
- new dxc options
- DxilValueCache
- PDB and NoOpt improvements
- noop / llvm::donothing() support

* Update dxrfallbacklayer for dxcapi internal changes

* Reorder diag block based on whether pDiag is set first.

* llvm::donothing() requires dxil 1.6 / SM 6.6 for now, lib as well.

* Fixes for spir-v, non-VC compiler and non-Windows builds

- DEFINE_CROSS_PLATFORM_UUIDOF for new interfaces
- add SAL annotations
- turn output argument validation for -P into warning
- handle warnings without concatenating them to main output
- update spirv preprocessing and compilation paths
- return E_NOTIMPL from IDxcUtils::CreateReflection
- cleanup: DxcContainerBuilder back to uft8, DxcTestUtils: remove comment

* Fix some warnings from clang/gcc.

* Fix unicode conversion problems on linux, where sizeof(wchar_t) == 4

Note this is an intermediate fix.
On linux, what we are calling utf16 is actually a wide string
that's probably utf32.  This change fixes issues introduced by
the new interface changes so things are consistent and pass tests.

A future fix should correct the encodings so they are correctly labeled
on platforms where wchar_t doesn't mean UTF16.

* Return false for IsBufferNullTerminated when CP_ACP.

One test for Disassembler was crashing because it created a pinned blob
with a size of 1 << 31 + 1 without actual memory backing this.  The
IsBufferNullTerminated would attempt to see if this was null terminated,
causing AV.

This change also removes CP_UTF8 from this test when it was creating
binary blobs, not UTF8 text blobs.
2019-11-13 16:16:45 -08:00
..
Analysis Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
AsmParser Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Bitcode Fixed hash difference between debug and non-debug by sorting named value serialization. (#2259) 2019-06-13 16:10:42 -07:00
CodeGen Convert more mallocs/frees to news/deletes (#2157) 2019-05-07 07:46:09 -07:00
DXIL Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
DebugInfo Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
DxcSupport Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
DxilContainer Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
DxilDia Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
DxilPIXPasses Use DWORD-aligned raw access only! (#2559) 2019-10-29 16:36:45 -07:00
DxilRootSignature Add mesh shader support to RootSignature parsing/validation and fix PSV (#2363) 2019-07-24 16:39:34 -07:00
DxrFallback Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
ExecutionEngine Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00
Fuzzer Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00
HLSL Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
IR Not fold gep 0, ... 0 for HLSL. (#2519) 2019-10-11 17:46:39 -07: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 Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
MSSupport [linux-port] Enhance FS interface support (#1420) 2018-07-17 12:50:42 -04:00
Object Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Option Clean up for versions (#829) 2017-11-20 11:09:28 -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 Integration from OS repo (#2541) 2019-10-22 15:43:26 -07:00
TableGen Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Target [linux-port] Fix warnings from lambda functions (#1320) 2018-05-31 13:39:26 -04:00
Transforms Integrate dxcapi v2 and other changes from internal (#2575) 2019-11-13 16:16:45 -08:00
CMakeLists.txt Implements DIA Interfaces for HLSL variable-value mapping. (#2050) 2019-03-19 11:46:10 -07:00
LLVMBuild.txt moves Dxil DIA support out of dxcompiler (#1772) 2018-12-13 19:59:08 -08:00