Index: llvm/include/llvm/MC/MCStreamer.h =================================================================== --- llvm/include/llvm/MC/MCStreamer.h +++ llvm/include/llvm/MC/MCStreamer.h @@ -155,7 +155,7 @@ StringRef StringValue = ""); virtual void emitFPU(unsigned FPU); virtual void emitArch(ARM::ArchKind Arch); - virtual void emitArchExtension(unsigned ArchExt); + virtual void emitArchExtension(uint64_t ArchExt); virtual void emitObjectArch(ARM::ArchKind Arch); void emitTargetAttributes(const MCSubtargetInfo &STI); virtual void finishAttributeSection(); Index: llvm/include/llvm/Support/ARMTargetParser.h =================================================================== --- llvm/include/llvm/Support/ARMTargetParser.h +++ llvm/include/llvm/Support/ARMTargetParser.h @@ -78,7 +78,7 @@ const struct { const char *NameCStr; size_t NameLength; - unsigned ID; + uint64_t ID; StringRef getName() const { return StringRef(NameCStr, NameLength); } } HWDivNames[] = { Index: llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp =================================================================== --- llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp +++ llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp @@ -93,7 +93,7 @@ void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, StringRef StringValue) override; void emitArch(ARM::ArchKind Arch) override; - void emitArchExtension(unsigned ArchExt) override; + void emitArchExtension(uint64_t ArchExt) override; void emitObjectArch(ARM::ArchKind Arch) override; void emitFPU(unsigned FPU) override; void emitInst(uint32_t Inst, char Suffix = '\0') override; @@ -222,7 +222,7 @@ OS << "\t.arch\t" << ARM::getArchName(Arch) << "\n"; } -void ARMTargetAsmStreamer::emitArchExtension(unsigned ArchExt) { +void ARMTargetAsmStreamer::emitArchExtension(uint64_t ArchExt) { OS << "\t.arch_extension\t" << ARM::getArchExtName(ArchExt) << "\n"; } Index: llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp =================================================================== --- llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp +++ llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp @@ -108,7 +108,7 @@ unsigned IntValue, StringRef StringValue) {} void ARMTargetStreamer::emitArch(ARM::ArchKind Arch) {} -void ARMTargetStreamer::emitArchExtension(unsigned ArchExt) {} +void ARMTargetStreamer::emitArchExtension(uint64_t ArchExt) {} void ARMTargetStreamer::emitObjectArch(ARM::ArchKind Arch) {} void ARMTargetStreamer::emitFPU(unsigned FPU) {} void ARMTargetStreamer::finishAttributeSection() {}