summaryrefslogtreecommitdiff
path: root/testing/tools
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-04-22 19:18:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-22 19:18:31 -0700
commit14f5aeb5a46f330bd9386cd698fa25da3775d909 (patch)
tree75c97c17bedf5ba4f35899d06620d28b28ef7510 /testing/tools
parent90c964fb069bfa9934493481f8ccfefef9c3b3fe (diff)
downloadpdfium-14f5aeb5a46f330bd9386cd698fa25da3775d909.tar.xz
Change the code to avoid three unit test failures on release build
We have three failed unit tests -- FX_AllocOverflow(), FX_AllocOverflow2D(), and FX_TryAllocOverflow() on Linux and Mac release builds, because Clang aggressively optimizes the code. Adding some usage of the return value of a function can avoid the function being optimized away by Clang. Review URL: https://codereview.chromium.org/1915693002
Diffstat (limited to 'testing/tools')
0 files changed, 0 insertions, 0 deletions