new interface for 'setAsmVerbosityDefault' (appeared in commit 228961) in LLVM 3.7
This commit is contained in:
5
ispc.cpp
5
ispc.cpp
@@ -921,8 +921,11 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic) :
|
||||
relocModel);
|
||||
Assert(m_targetMachine != NULL);
|
||||
|
||||
#if defined(LLVM_3_2) || defined(LLVM_3_3) || defined(LLVM_3_4) || defined(LLVM_3_5) || defined(LLVM_3_6)
|
||||
m_targetMachine->setAsmVerbosityDefault(true);
|
||||
|
||||
#else
|
||||
m_targetMachine->Options.MCOptions.AsmVerbose = true;
|
||||
#endif
|
||||
// Initialize TargetData/DataLayout in 3 steps.
|
||||
// 1. Get default data layout first
|
||||
std::string dl_string;
|
||||
|
||||
Reference in New Issue
Block a user