summaryrefslogtreecommitdiff
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-08-27 23:34:06 -0700
committer Ian Rogers <irogers@google.com> 2013-08-27 23:37:33 -0700
commita436fde2762664a3ecdda5eefcadd20b2e104f59 (patch)
tree22431bc387483220728a3bc99ec7314abce3ad60 /compiler/llvm/compiler_llvm.cc
parent10cc81056261625902a8a073bafb9f499eec4ff7 (diff)
Handle OOMEs in class linker with grace.
Check for OOMEs and then fail due to them in class loading. Make the compiler driver spot OOMEs during resolution and abort compilation to avoid needless GC thrash then eventual death. Allocate the pre-allocated OOME during Runtime::Init as Runtime::Start isn't called in the context of the compiler/tools. Change-Id: Id72199d0fe82001b5bf22758b3cdc9cc4b8efbb9
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions