summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/asan/asan_thread.h')
-rw-r--r--compiler-rt/lib/asan/asan_thread.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler-rt/lib/asan/asan_thread.h b/compiler-rt/lib/asan/asan_thread.h
index 5a6010e855f..d725e88864e 100644
--- a/compiler-rt/lib/asan/asan_thread.h
+++ b/compiler-rt/lib/asan/asan_thread.h
@@ -170,18 +170,6 @@ class AsanThread {
uptr extra_spill_area_;
};
-// ScopedUnwinding is a scope for stacktracing member of a context
-class ScopedUnwinding {
- public:
- explicit ScopedUnwinding(AsanThread *t) : thread(t) {
- t->setUnwinding(true);
- }
- ~ScopedUnwinding() { thread->setUnwinding(false); }
-
- private:
- AsanThread *thread;
-};
-
// Returns a single instance of registry.
ThreadRegistry &asanThreadRegistry();
OpenPOWER on IntegriCloud