зеркало из https://github.com/microsoft/clang-1.git
Use a twine.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
43fed0de4f
Коммит
77d6605159
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/RecordLayout.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace clang;
|
||||
|
@ -2563,8 +2562,7 @@ void MSP430TargetCodeGenInfo::SetTargetAttributes(const Decl *D,
|
|||
// Step 3: Emit ISR vector alias.
|
||||
unsigned Num = attr->getNumber() + 0xffe0;
|
||||
new llvm::GlobalAlias(GV->getType(), llvm::Function::ExternalLinkage,
|
||||
"vector_" +
|
||||
llvm::LowercaseString(llvm::utohexstr(Num)),
|
||||
"vector_" + llvm::Twine::utohexstr(Num),
|
||||
GV, &M.getModule());
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче