From b0d590fef4acb4b002429e4aec195e5740122494 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 2 Dec 2019 13:15:01 +0000 Subject: LLVM 10 build fix proposal c++14 is the minimum for this version, thus the hardcoded gnu++11 standard flag makes the build fails. Missing header only for this version seemingly for the option. --- llvm_mode/LLVMInsTrim.so.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm_mode/LLVMInsTrim.so.cc') diff --git a/llvm_mode/LLVMInsTrim.so.cc b/llvm_mode/LLVMInsTrim.so.cc index f723a0fe..1d4e6f2f 100644 --- a/llvm_mode/LLVMInsTrim.so.cc +++ b/llvm_mode/LLVMInsTrim.so.cc @@ -13,6 +13,7 @@ #include "llvm/IR/Module.h" #include "llvm/Pass.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/CommandLine.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/IR/DebugInfo.h" -- cgit 1.4.1