mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-27 15:57:30 +00:00
[ELF] Hide target specific methods as private
Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D86136
This commit is contained in:
parent
b682d6311b
commit
6e3663ae70
@ -51,6 +51,12 @@ class ELFObjectFileBase : public ObjectFile {
|
||||
friend class ELFSectionRef;
|
||||
friend class ELFSymbolRef;
|
||||
|
||||
SubtargetFeatures getMIPSFeatures() const;
|
||||
SubtargetFeatures getARMFeatures() const;
|
||||
SubtargetFeatures getRISCVFeatures() const;
|
||||
|
||||
StringRef getAMDGPUCPUName() const;
|
||||
|
||||
protected:
|
||||
ELFObjectFileBase(unsigned int Type, MemoryBufferRef Source);
|
||||
|
||||
@ -80,16 +86,8 @@ public:
|
||||
|
||||
SubtargetFeatures getFeatures() const override;
|
||||
|
||||
SubtargetFeatures getMIPSFeatures() const;
|
||||
|
||||
SubtargetFeatures getARMFeatures() const;
|
||||
|
||||
SubtargetFeatures getRISCVFeatures() const;
|
||||
|
||||
Optional<StringRef> tryGetCPUName() const override;
|
||||
|
||||
StringRef getAMDGPUCPUName() const;
|
||||
|
||||
void setARMSubArch(Triple &TheTriple) const override;
|
||||
|
||||
virtual uint16_t getEType() const = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user