Compile fix for LLVM 3.8.0
MODIFY
llvm_mode/LLVMInsTrim.so.cc
llvm_mode/LLVMInsTrim.so.cc
@@ -40,7 +40,12 @@ namespace {
AU.addRequired<DominatorTreeWrapperPass>();
}
- StringRef getPassName() const override {
+#if LLVM_VERSION_MAJOR < 4
+ const char *
+#else
+ StringRef
+#endif
+ getPassName() const override {
return "InstTrim Instrumentation";
}

Compile fix for LLVM 3.8.0