forked from OSchip/llvm-project
[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:
parent
1fc0da4849
commit
615b31d706
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue