mirror of
https://github.com/google/googletest.git
synced 2026-04-30 19:09:20 +08:00
Merge e95f42f966f27d53b76c8653e72de1c659270818 into d72f9c8aea6817cdf1ca0ac10887f328de7f3da2
This commit is contained in:
commit
309e39b3ad
@ -5505,7 +5505,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user