mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 02:47:10 +00:00
NFC. Fixing warnings from adding DXContainer
Adds DXContainer to switch statements in Clang and LLDB to silence warnings.
This commit is contained in:
parent
9130e471fe
commit
dfde354958
@ -287,6 +287,7 @@ static bool asanUseGlobalsGC(const Triple &T, const CodeGenOptions &CGOpts) {
|
||||
case Triple::XCOFF:
|
||||
llvm::report_fatal_error("ASan not implemented for XCOFF.");
|
||||
case Triple::Wasm:
|
||||
case Triple::DXContainer:
|
||||
case Triple::UnknownObjectFormat:
|
||||
break;
|
||||
}
|
||||
|
@ -5069,6 +5069,7 @@ std::string CGObjCCommonMac::GetSectionName(StringRef Section,
|
||||
case llvm::Triple::Wasm:
|
||||
case llvm::Triple::GOFF:
|
||||
case llvm::Triple::XCOFF:
|
||||
case llvm::Triple::DXContainer:
|
||||
llvm::report_fatal_error(
|
||||
"Objective-C support is unimplemented for object file format");
|
||||
}
|
||||
|
@ -5490,6 +5490,8 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) {
|
||||
llvm_unreachable("GOFF is not yet implemented");
|
||||
case llvm::Triple::XCOFF:
|
||||
llvm_unreachable("XCOFF is not yet implemented");
|
||||
case llvm::Triple::DXContainer:
|
||||
llvm_unreachable("DXContainer is not yet implemented");
|
||||
case llvm::Triple::COFF:
|
||||
case llvm::Triple::ELF:
|
||||
case llvm::Triple::Wasm:
|
||||
|
@ -2230,6 +2230,7 @@ bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
|
||||
case llvm::Triple::GOFF:
|
||||
case llvm::Triple::Wasm:
|
||||
case llvm::Triple::XCOFF:
|
||||
case llvm::Triple::DXContainer:
|
||||
LLDB_LOGF(log, "error: not supported target architecture");
|
||||
return false;
|
||||
case llvm::Triple::UnknownObjectFormat:
|
||||
|
Loading…
x
Reference in New Issue
Block a user