mirror of
https://github.com/google/googletest.git
synced 2025-01-02 23:57:44 +08:00
Merge branch 'master' into fix_locale_win
This commit is contained in:
commit
fbe3c94533
@ -4549,7 +4549,9 @@ void UnitTest::AddTestPartResult(
|
|||||||
// when a failure happens and both the --gtest_break_on_failure and
|
// when a failure happens and both the --gtest_break_on_failure and
|
||||||
// the --gtest_catch_exceptions flags are specified.
|
// the --gtest_catch_exceptions flags are specified.
|
||||||
DebugBreak();
|
DebugBreak();
|
||||||
#elif (defined(__clang__) || defined(__GNUC__)) && (defined(__x86_64__) || defined(__i386__))
|
#elif (!defined(__native_client__)) && \
|
||||||
|
((defined(__clang__) || defined(__GNUC__)) && \
|
||||||
|
(defined(__x86_64__) || defined(__i386__)))
|
||||||
// with clang/gcc we can achieve the same effect on x86 by invoking int3
|
// with clang/gcc we can achieve the same effect on x86 by invoking int3
|
||||||
asm("int3");
|
asm("int3");
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user