using namespace llvm;
-const char *faultKindToString(FaultMapParser::FaultKind FT) {
+static const char *faultKindToString(FaultMapParser::FaultKind FT) {
switch (FT) {
default:
llvm_unreachable("unhandled fault type!");
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);
}