diff options
author | Andreas Gampe <agampe@google.com> | 2015-04-07 16:09:30 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-04-07 16:43:08 -0700 |
commit | 3c54b0023fca579aae006dfa607fb14de5846c42 (patch) | |
tree | 7b996231875fdfd54855a9aa86fe2494cdee1ec5 /compiler/compiler.h | |
parent | 425ee0e1103b52bb72132df64f503725d1a15300 (diff) | |
download | art-3c54b0023fca579aae006dfa607fb14de5846c42.tar.gz art-3c54b0023fca579aae006dfa607fb14de5846c42.tar.bz2 art-3c54b0023fca579aae006dfa607fb14de5846c42.zip |
ART: Fix 64-bit ELF file support
The API wasn't cross-compile-safe, 32-bit patchoat would fail for
negative delta applied to a 64-bit ELF file.
Add 64-bit ELF file output to the compilers, behind a flag, currently
off by default (preserving current behavior).
Bug: 20095017
Change-Id: I2cde7b4c7cc83413c76692d7b745868d644a604c
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r-- | compiler/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h index 6ec39f9605..a04641e3fa 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -107,6 +107,9 @@ class Compiler { return driver_; } + // Whether to produce 64-bit ELF files for 64-bit targets. Leave this off for now. + static constexpr bool kProduce64BitELFFiles = false; + private: CompilerDriver* const driver_; const uint64_t maximum_compilation_time_before_warning_; |