DirectXShaderCompiler/include
Chris B fb873d0a14
Clean up debug preprocessor macros (#4305)
* Clean up debug preprocessor macros

This change removes the `DBG` macro value in favor of `NDEBUG`, and
also converts many uses of `_DEBUG` with `NDEBUG`.

_DEBUG is set by MSVC when debug information generation is enabled.
NDEBUG is set by CMake debug configurations and by LLVM on all
configurations when `LLVM_ENABLE_ASSERTIONS` is set.

Aligning with LLVM's NDEBUG usage allows a consistent pattern
throughout the codebase.

* Address PR feedback
2022-03-02 14:55:24 -06:00
..
dxc Clean up debug preprocessor macros (#4305) 2022-03-02 14:55:24 -06:00
llvm Change getPassName return type to StringRef. (#4247) 2022-02-10 14:14:43 -08:00
llvm-c [linux-port] Introduce Windows "adapter" headers (#1314) 2018-06-17 11:31:21 -04:00
miniz Removed source from debug module. Support slim PDB. (#3348) 2021-01-20 12:25:28 -08:00