mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
getLoadName is only implemented for ELF, make it ELF only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -435,7 +435,6 @@ public:
|
||||
uint8_t getBytesInAddress() const override;
|
||||
StringRef getFileFormatName() const override;
|
||||
unsigned getArch() const override;
|
||||
StringRef getLoadName() const override;
|
||||
|
||||
import_directory_iterator import_directory_begin() const;
|
||||
import_directory_iterator import_directory_end() const;
|
||||
|
@@ -201,7 +201,7 @@ public:
|
||||
uint8_t getBytesInAddress() const override;
|
||||
StringRef getFileFormatName() const override;
|
||||
unsigned getArch() const override;
|
||||
StringRef getLoadName() const override;
|
||||
StringRef getLoadName() const;
|
||||
|
||||
std::error_code getPlatformFlags(unsigned &Result) const override {
|
||||
Result = EF.getHeader()->e_flags;
|
||||
|
@@ -146,8 +146,6 @@ public:
|
||||
StringRef getFileFormatName() const override;
|
||||
unsigned getArch() const override;
|
||||
|
||||
StringRef getLoadName() const override;
|
||||
|
||||
relocation_iterator section_rel_begin(unsigned Index) const;
|
||||
relocation_iterator section_rel_end(unsigned Index) const;
|
||||
|
||||
|
@@ -330,11 +330,6 @@ public:
|
||||
virtual StringRef getFileFormatName() const = 0;
|
||||
virtual /* Triple::ArchType */ unsigned getArch() const = 0;
|
||||
|
||||
/// For shared objects, returns the name which this object should be
|
||||
/// loaded from at runtime. This corresponds to DT_SONAME on ELF and
|
||||
/// LC_ID_DYLIB (install name) on MachO.
|
||||
virtual StringRef getLoadName() const = 0;
|
||||
|
||||
/// Returns platform-specific object flags, if any.
|
||||
virtual std::error_code getPlatformFlags(unsigned &Result) const {
|
||||
Result = 0;
|
||||
|
Reference in New Issue
Block a user