diff options
author | Gennadiy Civil <misterg@google.com> | 2018-04-04 15:06:09 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-04-04 15:06:09 (GMT) |
commit | 1776ed8c1e9db8cfef66f79229a039023a7ceca0 (patch) | |
tree | 8d874617167d0e2bffe793aede297036bc61597c /googletest/src | |
parent | 07af8af37321892b022da63c3cd97688accd7483 (diff) | |
download | googletest-1776ed8c1e9db8cfef66f79229a039023a7ceca0.zip googletest-1776ed8c1e9db8cfef66f79229a039023a7ceca0.tar.gz googletest-1776ed8c1e9db8cfef66f79229a039023a7ceca0.tar.bz2 |
Tweaking https://github.com/google/googletest/pull/1523 to exclude naclrefs/pull/1542/head
Diffstat (limited to 'googletest/src')
-rw-r--r-- | googletest/src/gtest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 725aa08..73e9bf8 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -4549,7 +4549,9 @@ void UnitTest::AddTestPartResult( // when a failure happens and both the --gtest_break_on_failure and // the --gtest_catch_exceptions flags are specified. 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 asm("int3"); #else |