mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 10:38:46 +00:00
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:
parent
eec2764d55
commit
e3cf39c644
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user