mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
Resolve this GCC warning:
ARMTargetMachine.cpp:53: error: control reaches end of non-void function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f922f2cca
commit
a6136b7156
@ -45,7 +45,8 @@ static MCStreamer *createMCStreamer(const Target &T, const std::string &TT,
|
||||
case Triple::MinGW64:
|
||||
case Triple::Cygwin:
|
||||
case Triple::Win32:
|
||||
assert(0 && "ARM does not support Windows COFF format"); break;
|
||||
llvm_unreachable("ARM does not support Windows COFF format");
|
||||
return NULL;
|
||||
default:
|
||||
return createELFStreamer(Ctx, TAB, _OS, _Emitter, RelaxAll);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user