mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-20 23:30:54 +00:00
Update for llvm change.
llvm-svn: 309913
This commit is contained in:
parent
aa0226ed71
commit
eaf1d566ff
@ -11,10 +11,11 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/Support/CodeGen.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
|
||||
namespace lld {
|
||||
llvm::TargetOptions InitTargetOptionsFromCodeGenFlags();
|
||||
llvm::CodeModel::Model GetCodeModelFromCMModel();
|
||||
llvm::Optional<llvm::CodeModel::Model> GetCodeModelFromCMModel();
|
||||
}
|
||||
|
@ -27,6 +27,6 @@ llvm::TargetOptions lld::InitTargetOptionsFromCodeGenFlags() {
|
||||
return ::InitTargetOptionsFromCodeGenFlags();
|
||||
}
|
||||
|
||||
llvm::CodeModel::Model lld::GetCodeModelFromCMModel() {
|
||||
return CMModel;
|
||||
llvm::Optional<llvm::CodeModel::Model> lld::GetCodeModelFromCMModel() {
|
||||
return getCodeModel();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user