summaryrefslogtreecommitdiff
path: root/src/compiler/llvm/compiler_llvm.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-05-16 11:19:53 -0700
committer Ian Rogers <irogers@google.com> 2013-05-16 11:26:24 -0700
commitc4ee12e73fc844f28a9812a9141985cf05143a57 (patch)
tree59ea9f105b39b05beea9ff17cda83f1122461629 /src/compiler/llvm/compiler_llvm.h
parentd8274bcbc565fff1254574b3cbf46dc4e7b52812 (diff)
Avoid recursion if logging lock is corrupt.
If the logging lock is corrupt then using LOG fails and recursive death ensues. Make Mutex a friend of LogMessage so that it can do raw logging in this special situation. Opportunistically also make fields of LogMessage and LogMessageData that can be const, const. Change-Id: I9e0d07c3224096bcf03d6410cd64bb8b5c831fac
Diffstat (limited to 'src/compiler/llvm/compiler_llvm.h')
0 files changed, 0 insertions, 0 deletions