summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorElena Sayapina <elena.v.sayapina@intel.com>2014-08-15 15:52:42 +0700
committerElena Sayapina <elena.v.sayapina@intel.com>2014-08-18 12:42:30 +0700
commit78480ecb348beee3f27731e12ec06ade032521d6 (patch)
tree4b1e9a73212bc70f7cab9f62737b691e8769b585 /compiler/optimizing/graph_visualizer.cc
parentd684cbfbe8abfb9aea4de27687041243217295c7 (diff)
ART: Fix verifier fail message.
Verifier failure message is corrupted. The verification failure reason overlaps verification failure location. MethodVerifier::Fail() method creates failure message stream by std::ostringstream(failure location) constructor which by default sets the stream's position indicator to the begging of that stream. Inserting failure reason to the stream by "<<" then overrides the failure location. Using std::ostringstream(failure location, std::ostringstream::ate) fixes the issue by setting the stream's position indicator to the end of the stream on opening. Change-Id: I8cc1cffc95bc5c56aadbb9ab8c0cdc8bc680d6f4 Signed-off-by: Elena Sayapina <elena.v.sayapina@intel.com>
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions