forked from OSchip/llvm-project
parent
8c57cfd51b
commit
e7800cab82
|
@ -14,7 +14,7 @@
|
|||
|
||||
using namespace llvm;
|
||||
|
||||
const char *faultKindToString(FaultMapParser::FaultKind FT) {
|
||||
static const char *faultKindToString(FaultMapParser::FaultKind FT) {
|
||||
switch (FT) {
|
||||
default:
|
||||
llvm_unreachable("unhandled fault type!");
|
||||
|
|
|
@ -172,9 +172,10 @@ static MCInstPrinter *createHexagonMCInstPrinter(const Triple &T,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
MCTargetStreamer *createMCAsmTargetStreamer(
|
||||
MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint,
|
||||
bool IsVerboseAsm) {
|
||||
static MCTargetStreamer *createMCAsmTargetStreamer(MCStreamer &S,
|
||||
formatted_raw_ostream &OS,
|
||||
MCInstPrinter *InstPrint,
|
||||
bool IsVerboseAsm) {
|
||||
return new HexagonTargetAsmStreamer(S, OS, IsVerboseAsm, *InstPrint);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue