1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Use StringRef in ARMELFStreamer (NFC)

llvm-svn: 283529
This commit is contained in:
Mehdi Amini 2016-10-07 08:48:07 +00:00
parent 65a5ad0126
commit ddf3596f96

View File

@ -591,7 +591,7 @@ private:
void FlushPendingOffset(); void FlushPendingOffset();
void FlushUnwindOpcodes(bool NoHandlerData); void FlushUnwindOpcodes(bool NoHandlerData);
void SwitchToEHSection(const char *Prefix, unsigned Type, unsigned Flags, void SwitchToEHSection(StringRef Prefix, unsigned Type, unsigned Flags,
SectionKind Kind, const MCSymbol &Fn); SectionKind Kind, const MCSymbol &Fn);
void SwitchToExTabSection(const MCSymbol &FnStart); void SwitchToExTabSection(const MCSymbol &FnStart);
void SwitchToExIdxSection(const MCSymbol &FnStart); void SwitchToExIdxSection(const MCSymbol &FnStart);
@ -1074,7 +1074,7 @@ void ARMELFStreamer::reset() {
getAssembler().setELFHeaderEFlags(ELF::EF_ARM_EABI_VER5); getAssembler().setELFHeaderEFlags(ELF::EF_ARM_EABI_VER5);
} }
inline void ARMELFStreamer::SwitchToEHSection(const char *Prefix, inline void ARMELFStreamer::SwitchToEHSection(StringRef Prefix,
unsigned Type, unsigned Type,
unsigned Flags, unsigned Flags,
SectionKind Kind, SectionKind Kind,