llvm-mc: .lsym is more unsupported than unimplemented, pending a use case appearing.

Also, all one of the file level flags are implemented.

llvm-svn: 80352
This commit is contained in:
Daniel Dunbar 2009-08-28 07:08:47 +00:00
parent eec2764d55
commit e3cf39c644

View File

@ -170,13 +170,12 @@ void MCMachOStreamer::EmitLabel(MCSymbol *Symbol) {
void MCMachOStreamer::EmitAssemblerFlag(AssemblerFlag Flag) {
switch (Flag) {
default:
llvm_unreachable("FIXME: Not yet implemented!");
case SubsectionsViaSymbols:
Assembler.setSubsectionsViaSymbols(true);
break;
return;
}
assert(0 && "invalid assembler flag!");
}
void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol,
@ -268,7 +267,8 @@ void MCMachOStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
}
void MCMachOStreamer::EmitLocalSymbol(MCSymbol *Symbol, const MCValue &Value) {
llvm_unreachable("FIXME: Not yet implemented!");
// FIXME: Implement?
llvm_report_error("unsupported '.lsym' directive");
}
void MCMachOStreamer::EmitCommonSymbol(MCSymbol *Symbol, unsigned Size,