Add DXContainer
authorChris Bieneman <cbieneman@microsoft.com>
Sat, 19 Mar 2022 19:33:39 +0000 (14:33 -0500)
committerChris Bieneman <chris.bieneman@me.com>
Tue, 29 Mar 2022 19:34:23 +0000 (14:34 -0500)
commit9130e471fe82afc51b5e691f1620aea09c8fbf2e
tree6a937ef7101ca72cf28b268d2a72f4d093f23e4f
parentd1d3563278589b2e19077e6a81cd9455d0195577
Add DXContainer

DXIL is wrapped in a container format defined by the DirectX 11
specification. Codebases differ in calling this format either DXBC or
DXILContainer.

Since eventually we want to add support for DXBC as a target
architecture and the format is used by DXBC and DXIL, I've termed it
DXContainer here.

Most of the changes in this patch are just adding cases to switch
statements to address warnings.

Reviewed By: pete

Differential Revision: https://reviews.llvm.org/D122062
llvm/include/llvm/ADT/Triple.h
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/TargetRegistry.h
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/lib/Support/Triple.cpp
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/unittests/ADT/TripleTest.cpp