Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Unified Diff: Source/platform/Timer.cpp

Issue 1120943002: Various ASan exemptions to allow Oilpan pre-sweep poisoning of unmarkeds. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/Timer.cpp
diff --git a/Source/platform/Timer.cpp b/Source/platform/Timer.cpp
index 6a2111200a0957f6e6af3c7fda62a2a966ecb9ce..2cc7dceb0e09268d90195702a5a1f9814e5d40f8 100644
--- a/Source/platform/Timer.cpp
+++ b/Source/platform/Timer.cpp
@@ -77,6 +77,7 @@ inline TimerHeapReference TimerHeapPointer::operator*() const
return *m_pointer;
}
+NO_SANITIZE_ADDRESS
inline TimerHeapReference& TimerHeapReference::operator=(TimerBase* timer)
{
m_reference = timer;
@@ -86,6 +87,7 @@ inline TimerHeapReference& TimerHeapReference::operator=(TimerBase* timer)
return *this;
}
+NO_SANITIZE_ADDRESS
inline TimerHeapReference& TimerHeapReference::operator=(TimerHeapReference b)
{
TimerBase* timer = b;
@@ -168,6 +170,7 @@ public:
bool operator()(const TimerBase*, const TimerBase*) const;
};
+NO_SANITIZE_ADDRESS
inline bool TimerHeapLessThanFunction::operator()(const TimerBase* a, const TimerBase* b) const
{
// The comparisons below are "backwards" because the heap puts the largest
@@ -290,6 +293,7 @@ inline void TimerBase::heapInsert()
heapDecreaseKey();
}
+NO_SANITIZE_ADDRESS
inline void TimerBase::heapPop()
{
// Temporarily force this timer to have the minimum key so we can pop it.

Powered by Google App Engine
This is Rietveld 408576698