}
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
}
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
- const TargetData *TD = TM.getTargetData();
-
if (!GVar->hasInitializer())
return; // External global require no code
if (!GVar->hasInitializer())
return; // External global require no code
// Check to see if this is a special global used by LLVM, if so, emit it.
if (EmitSpecialLLVMGlobal(GVar)) {
if (Subtarget->isTargetDarwin() &&
// Check to see if this is a special global used by LLVM, if so, emit it.
if (EmitSpecialLLVMGlobal(GVar)) {
if (Subtarget->isTargetDarwin() &&
+
+ const TargetData *TD = TM.getTargetData();
std::string name = Mang->getMangledName(GVar);
Constant *C = GVar->getInitializer();
std::string name = Mang->getMangledName(GVar);
Constant *C = GVar->getInitializer();