restore llvm DebugInfo

This commit is contained in:
Andrea Fioraldi 2019-12-21 22:02:50 +01:00
parent 8679f3d757
commit 4f343e791a

View File

@ -36,14 +36,7 @@
#include <fstream> #include <fstream>
#include <sys/time.h> #include <sys/time.h>
#include <llvm/Config/llvm-config.h> #include "llvm/IR/DebugInfo.h"
#if (LLVM_VERSION_MAJOR <= 3) && (LLVM_VERSION_MINOR < 7)
#include <llvm/DebugInfo.h>
#else
#include <llvm/IR/DebugInfo.h>
#endif
#include "llvm/IR/BasicBlock.h" #include "llvm/IR/BasicBlock.h"
#include "llvm/IR/IRBuilder.h" #include "llvm/IR/IRBuilder.h"
#include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/LegacyPassManager.h"