Loading debuggerd/debuggerd_test.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,6 @@ using ::testing::HasSubstr; #define ARCH_SUFFIX "" #define ARCH_SUFFIX "" #endif #endif constexpr size_t kTagGranuleSize = 16; constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; #define TIMEOUT(seconds, expr) \ #define TIMEOUT(seconds, expr) \ Loading Loading @@ -742,6 +741,8 @@ TEST_F(CrasherTest, mte_multiple_causes) { } } #if defined(__aarch64__) #if defined(__aarch64__) constexpr size_t kTagGranuleSize = 16; static uintptr_t CreateTagMapping() { static uintptr_t CreateTagMapping() { // Some of the MTE tag dump tests assert that there is an inaccessible page to the left and right // Some of the MTE tag dump tests assert that there is an inaccessible page to the left and right // of the PROT_MTE page, so map three pages and set the two guard pages to PROT_NONE. // of the PROT_MTE page, so map three pages and set the two guard pages to PROT_NONE. Loading Loading
debuggerd/debuggerd_test.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,6 @@ using ::testing::HasSubstr; #define ARCH_SUFFIX "" #define ARCH_SUFFIX "" #endif #endif constexpr size_t kTagGranuleSize = 16; constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; #define TIMEOUT(seconds, expr) \ #define TIMEOUT(seconds, expr) \ Loading Loading @@ -742,6 +741,8 @@ TEST_F(CrasherTest, mte_multiple_causes) { } } #if defined(__aarch64__) #if defined(__aarch64__) constexpr size_t kTagGranuleSize = 16; static uintptr_t CreateTagMapping() { static uintptr_t CreateTagMapping() { // Some of the MTE tag dump tests assert that there is an inaccessible page to the left and right // Some of the MTE tag dump tests assert that there is an inaccessible page to the left and right // of the PROT_MTE page, so map three pages and set the two guard pages to PROT_NONE. // of the PROT_MTE page, so map three pages and set the two guard pages to PROT_NONE. Loading