Merge e95f42f966f27d53b76c8653e72de1c659270818 into 3ff51c3e80f2c2eb105d43ecb9acab9a62e01600

This commit is contained in:
Shoaib Khan 2026-07-29 02:14:40 +08:00 committed by GitHub
commit 665b0cf2b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5507,7 +5507,7 @@ void UnitTest::AddTestPartResult(TestPartResult::Type result_type,
// with clang/gcc we can achieve the same effect on x86 by invoking int3
asm("int3");
#elif GTEST_HAS_BUILTIN(__builtin_trap)
__builtin_trap();
__builtin_debugtrap();
#elif defined(SIGTRAP)
raise(SIGTRAP);
#else