[CodeGen] Fix -Wswitch after D116462

This commit is contained in:
Fangrui Song 2022-04-19 17:28:54 -07:00
parent 204c12eef9
commit 8b0e7f2293

View file

@ -238,6 +238,7 @@ static bool asanUseGlobalsGC(const Triple &T, const CodeGenOptions &CGOpts) {
llvm::report_fatal_error("ASan not implemented for XCOFF.");
case Triple::Wasm:
case Triple::DXContainer:
case Triple::SPIRV:
case Triple::UnknownObjectFormat:
break;
}