mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
revert 93934, removing the MCAsmInfo endianness bit. I can't
stomache MCAsmInfo having this, and I found a better solution to this layering issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -60,7 +60,7 @@ extern "C" void LLVMInitializeCBackendTarget() {
|
||||
namespace {
|
||||
class CBEMCAsmInfo : public MCAsmInfo {
|
||||
public:
|
||||
CBEMCAsmInfo(bool isLE) : MCAsmInfo(isLE) {
|
||||
CBEMCAsmInfo() {
|
||||
GlobalPrefix = "";
|
||||
PrivateGlobalPrefix = "";
|
||||
}
|
||||
@@ -1893,7 +1893,7 @@ bool CWriter::doInitialization(Module &M) {
|
||||
if (const Target *Match = TargetRegistry::lookupTarget(Triple, E))
|
||||
TAsm = Match->createAsmInfo(Triple);
|
||||
#endif
|
||||
TAsm = new CBEMCAsmInfo(TD->isLittleEndian());
|
||||
TAsm = new CBEMCAsmInfo();
|
||||
Mang = new Mangler(*TAsm);
|
||||
|
||||
// Keep track of which functions are static ctors/dtors so they can have
|
||||
|
||||
Reference in New Issue
Block a user