Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler-rt/lib/asan/asan_fake_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ void FakeStack::ForEachFakeFrame(RangeIteratorCallback callback, void* arg) {
#if (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_FUCHSIA
static THREADLOCAL FakeStack* fake_stack_tls;

FakeStack* GetTLSFakeStack() { return fake_stack_tls; }
static FakeStack* GetTLSFakeStack() { return fake_stack_tls; }
void SetTLSFakeStack(FakeStack* fs) { fake_stack_tls = fs; }
#else
FakeStack* GetTLSFakeStack() { return 0; }
static FakeStack* GetTLSFakeStack() { return nullptr; }
void SetTLSFakeStack(FakeStack* fs) {}
#endif // (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_FUCHSIA

Expand Down
1 change: 0 additions & 1 deletion compiler-rt/lib/asan/asan_fake_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ class FakeStack {
void *true_start;
};

FakeStack *GetTLSFakeStack();
void SetTLSFakeStack(FakeStack *fs);

} // namespace __asan
Expand Down
Loading