namespace {
class CBEMCAsmInfo : public MCAsmInfo {
public:
- CBEMCAsmInfo() {
+ CBEMCAsmInfo(bool isLE) : MCAsmInfo(isLE) {
GlobalPrefix = "";
PrivateGlobalPrefix = "";
}
if (const Target *Match = TargetRegistry::lookupTarget(Triple, E))
TAsm = Match->createAsmInfo(Triple);
#endif
- TAsm = new CBEMCAsmInfo();
+ TAsm = new CBEMCAsmInfo(TD->isLittleEndian());
Mang = new Mangler(*TAsm);
// Keep track of which functions are static ctors/dtors so they can have