[llvm-exegesis] Fix compilation on some clang versions.

default initialization of an object of const type 'const llvm::DebugLoc' requires a user-provided default constructor.

llvm-svn: 329171
This commit is contained in:
Clement Courbet 2018-04-04 11:45:53 +00:00
parent 1fc0da4849
commit 615b31d706
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ static void fillMachineFunction(llvm::MachineFunction &MF,
llvm::MachineBasicBlock *MBB = MF.CreateMachineBasicBlock();
MF.push_back(MBB);
const llvm::MCInstrInfo *MCII = MF.getTarget().getMCInstrInfo();
const llvm::DebugLoc DL;
llvm::DebugLoc DL;
for (const llvm::MCInst &Inst : Instructions) {
const unsigned Opcode = Inst.getOpcode();
const llvm::MCInstrDesc &MCID = MCII->get(Opcode);