summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-12 21:25:36 -0700
committerElliott Hughes <enh@google.com>2015-05-12 21:25:36 -0700
commit06f08e405777bd3b710fd1d7cf73b06f5347db36 (patch)
tree7aa97dbe837127c3676cfc3e0390e373bf20bca2 /compiler/optimizing/graph_visualizer.cc
parent23d358b621dbe11d6da918ab310ed3f1a5fc0558 (diff)
Silence unused result warnings in art.
This lets us turn on _FORTIFY_SOURCE=2 for the host. The logging change is basically a trick (since we're still ignoring the result unless it's an EINTR failure). The profiler change is in a function whose error checking is a mess; the fd is leaked, and it's not clear what's supposed to happen about the flock on failure. I didn't exit if the ftruncate fails because the rest of the function just blunders on, and error handling here needs a deeper rethink. Bug: http://b/20558757 Change-Id: I7a2873fce08e37f4af826a04b4701d7ac6a8e3fa
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions