summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer.h
Commit message (Collapse)AuthorAgeFilesLines
* ART: Do not relocate app program headers in patchoat.Vladimir Marko2015-05-141-2/+2
| | | | | | | | | | | | | | | | Change the check whether to relocate program headers in patchoat to simply look whether there is a PT_LOAD section with p_vaddr == 0. If there is, don't relocate the headers, it should be an app. Otherwise, it's a boot image and needs to be relocated. Add overflow checking to ElfFileImpl<>::GetLoadedSize(). Bug: 21047854 (cherry picked from commit 3fc9903407c6e89ffbbc92ded9e272d9de58e9b6) Change-Id: Ib3e1295fc06993bcfbaadd8f253ee4f5498f52e9
* ART: Prepare for ELF64.Tong Shen2014-10-031-1/+3
| | | | | | Only expose necessary interface in ElfFile, and move all details into template class ElfFileImpl. Change-Id: I9df2bbc55f32ba0ba91f4f3d5d0009e84a2ddf74
* Enable annotalysis on clang ART builds.Ian Rogers2014-03-061-0/+1
| | | | | | | | | | | Fix clang build errors aswell as restructure locking/mutex code for correct thread safety analysis support. Reorder make dependencies so that host builds build first as they should provide better compilation errors than target. Remove host's use of -fno-omit-frame-pointer as it has no value with correct use of CFI, which we should have. Change-Id: I72cea8da9a3757b1a0b3acb4081feccb7c6cef90
* Make out arguments non-reference types.Ian Rogers2014-03-011-8/+9
| | | | | | Also, tidy some portable related code. Change-Id: I67c8aa52eef8b556ca117ecda1b1e75465ba06a5
* Remove dependency on llvm/Support/ELF.h by using linux's elf.h.Nicolas Geoffray2014-02-191-4/+2
| | | | Change-Id: Iefe66af9958641ac7f08fdc22f438d976e5b4d54
* Fix header file references to the ::llvm::ELF namespace.Vladimir Marko2014-01-231-1/+1
| | | | | | | | | | We have header files which define the namespace ::art::llvm and if they are included before the header files fixed here, references to llvm::ELF from ::art pick up ::art::llvm instead of ::llvm and fail to find ELF, causing an error. Therefore we add the leading "::". Change-Id: Ib02c9317d39cde5331dd67463013643cbc79ee1f
* Remove OatWriter buffering to memory for ElfWriterQuickBrian Carlstrom2013-07-241-1/+2
| | | | | | This allows the oat contents to be directly written to the file. Change-Id: Ibc7ddf57477b152f07784b52f7334be73fd22833
* Fixing cpplint runtime/arrays, runtime/int, runtime/virtual issuesBrian Carlstrom2013-07-181-1/+1
| | | | Change-Id: Ia2ff94d2fb69465df26aaf83df82614a483b26e0
* Fix multiple inclusion guards to match new pathnamesBrian Carlstrom2013-07-171-3/+3
| | | | Change-Id: Id7735be1d75bc315733b1773fba45c1deb8ace43
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+65
The runtime, compiler, dex2oat, and oatdump now are in seperate trees to prevent dependency creep. They can now be individually built without rebuilding the rest of the art projects. dalvikvm and jdwpspy were already this way. Builds in the art directory should behave as before, building everything including tests. Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81