forked from OSchip/llvm-project
Silence a GCC warning about not handling all flags in this switch, we
specifically assert on unexpected flags. llvm-svn: 115143
This commit is contained in:
parent
99a9040a1f
commit
f44d350614
|
@ -158,9 +158,9 @@ void MCMachOStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
|
||||||
case MCAF_SubsectionsViaSymbols:
|
case MCAF_SubsectionsViaSymbols:
|
||||||
getAssembler().setSubsectionsViaSymbols(true);
|
getAssembler().setSubsectionsViaSymbols(true);
|
||||||
return;
|
return;
|
||||||
|
default:
|
||||||
|
llvm_unreachable("invalid assembler flag!");
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(0 && "invalid assembler flag!");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
||||||
|
|
Loading…
Reference in New Issue