mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 11:36:10 +00:00
Silence a GCC warning about not handling all flags in this switch, we
specifically assert on unexpected flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
186e7a0fb1
commit
5c0d472b6e
@ -158,9 +158,9 @@ void MCMachOStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
|
||||
case MCAF_SubsectionsViaSymbols:
|
||||
getAssembler().setSubsectionsViaSymbols(true);
|
||||
return;
|
||||
default:
|
||||
llvm_unreachable("invalid assembler flag!");
|
||||
}
|
||||
|
||||
assert(0 && "invalid assembler flag!");
|
||||
}
|
||||
|
||||
void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user