diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
commit | 7b26fce23e5f733d1a614beae71d0499e78aeab1 (patch) | |
tree | c952f7380295ff3ba73e21eff6c90dafd9cfdf85 /llvm/tools | |
parent | 259717287abf3ec138f6c149cbe7703315848d43 (diff) | |
download | bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.tar.gz bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.zip |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
llvm-svn: 79763
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvm-mc/llvm-mc.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/lto/LTOCodeGenerator.cpp | 6 | ||||
-rw-r--r-- | llvm/tools/lto/LTOModule.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp index 302ddb177cf..4f5b8a0ba27 100644 --- a/llvm/tools/llvm-mc/llvm-mc.cpp +++ b/llvm/tools/llvm-mc/llvm-mc.cpp @@ -239,7 +239,7 @@ static int AssembleInput(const char *ProgName) { OwningPtr<MCStreamer> Str; if (FileType == OFT_AssemblyFile) { - const TargetAsmInfo *TAI = TheTarget->createAsmInfo(TripleName); + const MCAsmInfo *TAI = TheTarget->createAsmInfo(TripleName); assert(TAI && "Unable to create target asm info!"); AP.reset(TheTarget->createAsmPrinter(*Out, *TM, TAI, true)); diff --git a/llvm/tools/lto/LTOCodeGenerator.cpp b/llvm/tools/lto/LTOCodeGenerator.cpp index 190578e2630..f76168e3f53 100644 --- a/llvm/tools/lto/LTOCodeGenerator.cpp +++ b/llvm/tools/lto/LTOCodeGenerator.cpp @@ -39,7 +39,7 @@ #include "llvm/System/Signals.h" #include "llvm/Target/SubtargetFeature.h" #include "llvm/Target/TargetOptions.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/Target/TargetData.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetRegistry.h" @@ -359,7 +359,7 @@ void LTOCodeGenerator::applyScopeRestrictions() // mark which symbols can not be internalized if ( !_mustPreserveSymbols.empty() ) { Mangler mangler(*mergedModule, - _target->getTargetAsmInfo()->getGlobalPrefix()); + _target->getMCAsmInfo()->getGlobalPrefix()); std::vector<const char*> mustPreserveList; for (Module::iterator f = mergedModule->begin(), e = mergedModule->end(); f != e; ++f) { @@ -395,7 +395,7 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out, Module* mergedModule = _linker.getModule(); // If target supports exception handling then enable it now. - switch (_target->getTargetAsmInfo()->getExceptionHandlingType()) { + switch (_target->getMCAsmInfo()->getExceptionHandlingType()) { case ExceptionHandling::Dwarf: llvm::DwarfExceptionHandling = true; break; diff --git a/llvm/tools/lto/LTOModule.cpp b/llvm/tools/lto/LTOModule.cpp index cbfb04861f5..e3a3cf637b8 100644 --- a/llvm/tools/lto/LTOModule.cpp +++ b/llvm/tools/lto/LTOModule.cpp @@ -28,7 +28,7 @@ #include "llvm/System/Path.h" #include "llvm/System/Process.h" #include "llvm/Target/SubtargetFeature.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetRegistry.h" #include "llvm/Target/TargetSelect.h" @@ -458,7 +458,7 @@ void LTOModule::lazyParseSymbols() _symbolsParsed = true; // Use mangler to add GlobalPrefix to names to match linker names. - Mangler mangler(*_module, _target->getTargetAsmInfo()->getGlobalPrefix()); + Mangler mangler(*_module, _target->getMCAsmInfo()->getGlobalPrefix()); // add chars used in ObjC method names so method names aren't mangled mangler.markCharAcceptable('['); mangler.markCharAcceptable(']'); |