Home
last modified time | relevance | path

Searched refs:FailureAddress (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Dcrash_handler_api.cpp125 uintptr_t FailureAddress = 0x9000; in TEST_F() local
127 EXPECT_TRUE(__gwp_asan_error_is_mine(&State, FailureAddress)); in TEST_F()
129 __gwp_asan_diagnose_error(&State, Metadata, FailureAddress)); in TEST_F()
130 EXPECT_EQ(0u, __gwp_asan_get_internal_crash_address(&State, FailureAddress)); in TEST_F()
131 EXPECT_EQ(nullptr, __gwp_asan_get_metadata(&State, Metadata, FailureAddress)); in TEST_F()
137 uintptr_t FailureAddress = 0x7000; in TEST_F() local
140 State.FailureAddress = FailureAddress; in TEST_F()
145 EXPECT_EQ(FailureAddress, in TEST_F()
147 checkMetadata(Index, FailureAddress); in TEST_F()
153 uintptr_t FailureAddress = 0x7001; in TEST_F() local
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Dcommon.h156 uintptr_t FailureAddress = 0; member
172 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
177 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
182 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
187 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
H A Dcrash_handler.cpp26 if (State->FailureType != Error::UNKNOWN && State->FailureAddress != 0) in __gwp_asan_error_is_mine()
43 return State->FailureAddress; in __gwp_asan_get_internal_crash_address()
H A Dguarded_pool_allocator.cpp296 State.FailureAddress = Address; in raiseInternallyDetectedError()
309 assert(State.FailureAddress == 0u); in raiseInternallyDetectedError()
411 State.FailureAddress = 0; in postCrashReportRecoverableOnly()