Skip to content

Commit

Permalink
[compiler-rt][NFC] Add missing 'override's
Browse files Browse the repository at this point in the history
  • Loading branch information
kepler-5 committed Jul 17, 2020
1 parent fd1f807 commit 947bf0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiler-rt/lib/sanitizer_common/sanitizer_flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class FlagHandlerInclude : public FlagHandlerBase {
}
return parser_->ParseFile(value, ignore_missing_);
}
bool Format(char *buffer, uptr size) {
bool Format(char *buffer, uptr size) override {
// Note `original_path_` isn't actually what's parsed due to `%`
// substitutions. Printing the substituted path would require holding onto
// mmap'ed memory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ class SuspendedThreadsListMac : public SuspendedThreadsList {
public:
SuspendedThreadsListMac() : threads_(1024) {}

tid_t GetThreadID(uptr index) const;
tid_t GetThreadID(uptr index) const override;
thread_t GetThread(uptr index) const;
uptr ThreadCount() const;
uptr ThreadCount() const override;
bool ContainsThread(thread_t thread) const;
void Append(thread_t thread);

PtraceRegistersStatus GetRegistersAndSP(uptr index, uptr *buffer,
uptr *sp) const;
uptr RegisterCount() const;
uptr *sp) const override;
uptr RegisterCount() const override;

private:
InternalMmapVector<SuspendedThreadInfo> threads_;
Expand Down

0 comments on commit 947bf0f

Please sign in to comment.