diff options
author | Chris Bieneman <cbieneman@microsoft.com> | 2022-03-19 14:33:39 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2022-03-29 14:34:23 -0500 |
commit | 9130e471fe82afc51b5e691f1620aea09c8fbf2e (patch) | |
tree | 6a937ef7101ca72cf28b268d2a72f4d093f23e4f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | d1d3563278589b2e19077e6a81cd9455d0195577 (diff) | |
download | llvm-9130e471fe82afc51b5e691f1620aea09c8fbf2e.zip llvm-9130e471fe82afc51b5e691f1620aea09c8fbf2e.tar.gz llvm-9130e471fe82afc51b5e691f1620aea09c8fbf2e.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index d203fab..8a16524 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -4870,6 +4870,9 @@ static const char *getSectionNameForBitcode(const Triple &T) { case Triple::XCOFF: llvm_unreachable("XCOFF is not yet implemented"); break; + case Triple::DXContainer: + llvm_unreachable("DXContainer is not yet implemented"); + break; } llvm_unreachable("Unimplemented ObjectFormatType"); } @@ -4889,6 +4892,9 @@ static const char *getSectionNameForCommandline(const Triple &T) { case Triple::XCOFF: llvm_unreachable("XCOFF is not yet implemented"); break; + case Triple::DXContainer: + llvm_unreachable("DXC is not yet implemented"); + break; } llvm_unreachable("Unimplemented ObjectFormatType"); } |