forked from OSchip/llvm-project
Use a protected destructor instead of a virtual one.
llvm-svn: 280941
This commit is contained in:
parent
55a7af7da5
commit
4d1e4d76ee
|
@ -124,8 +124,10 @@ struct PhdrsCommand {
|
|||
};
|
||||
|
||||
class LinkerScriptBase {
|
||||
protected:
|
||||
~LinkerScriptBase() = default;
|
||||
|
||||
public:
|
||||
virtual ~LinkerScriptBase() = default;
|
||||
virtual uint64_t getOutputSectionAddress(StringRef Name) = 0;
|
||||
virtual uint64_t getOutputSectionSize(StringRef Name) = 0;
|
||||
virtual uint64_t getOutputSectionAlign(StringRef Name) = 0;
|
||||
|
|
Loading…
Reference in New Issue