summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2017-04-14 15:05:12 +0200
committerSebastien Hertz <shertz@google.com>2017-04-18 18:06:54 +0200
commit1c8f4ff04062407db3d2dd834dd6bc24f6662c4d (patch)
treea116c7d55fc1bcff2b451028f46a1196ee15d990 /compiler/optimizing/graph_visualizer.cc
parentc1be9f2b776b4900e0603013f7c4d84e534f0bb0 (diff)
Always check result of Thread::ModifySuspendCount
Ensures that we never ignore the result of ModifySuspendCount so that we can react if the suspend count is not updated as expected. This CL does the following: * Adds __attribute__((warn_unused_result)) on the method to raise an error at compilation time if the result is ignored. * Wraps calls with DCHECK where the result used to be ignored. Bug: 27385848 Test: make -j test-art-host Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64 Change-Id: I2d0e1ab7158c70ec8076c8bae6e4b814aee75af6
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions