* MCAsmBackend changes

* Add profile-rt-70

* ProfData definition

* ProfData tool

* Remove profile-rt CMakeLists.txt

* Update druntime submodule
This commit is contained in:
Nicholas Wilson 2018-01-14 07:57:55 +08:00 committed by GitHub
parent 6b462b1018
commit a73188c8e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 5039 additions and 2 deletions

View file

@ -266,7 +266,12 @@ void disassemble(const llvm::TargetMachine &tm,
llvm::MCTargetOptions opts;
auto mab = unique(target.createMCAsmBackend(
*mri, tm.getTargetTriple().getTriple(), tm.getTargetCPU(), opts));
#if LDC_LLVM_VER >= 700
*sti,*mri,opts)
#else
*mri, tm.getTargetTriple().getTriple(), tm.getTargetCPU(), opts)
#endif
);
if (nullptr == mab) {
return;
}