mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -61,17 +61,18 @@ public:
|
||||
SmallVector<sys::MemoryBlock, 16> DataMemory;
|
||||
|
||||
uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
|
||||
unsigned SectionID, StringRef SectionName);
|
||||
unsigned SectionID,
|
||||
StringRef SectionName) override;
|
||||
uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
|
||||
unsigned SectionID, StringRef SectionName,
|
||||
bool IsReadOnly);
|
||||
bool IsReadOnly) override;
|
||||
|
||||
virtual void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true) {
|
||||
void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true) override {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool finalizeMemory(std::string *ErrMsg) { return false; }
|
||||
bool finalizeMemory(std::string *ErrMsg) override { return false; }
|
||||
|
||||
// Invalidate instruction cache for sections with execute permissions.
|
||||
// Some platforms with separate data cache and instruction cache require
|
||||
|
Reference in New Issue
Block a user