diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-05 18:33:23 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-05 18:33:23 +0000 |
commit | 9ac2cc7812b1dcfe0b9a27c1627822c4b5cacfe1 (patch) | |
tree | cac03a3f107115815e494b79e2631f9dcd7e7396 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | dc06518ff4d4506eff4f49c508be3b6f8ca49675 (diff) | |
download | llvm-9ac2cc7812b1dcfe0b9a27c1627822c4b5cacfe1.zip llvm-9ac2cc7812b1dcfe0b9a27c1627822c4b5cacfe1.tar.gz llvm-9ac2cc7812b1dcfe0b9a27c1627822c4b5cacfe1.tar.bz2 |
Fix invalid memory access on android x86
On certain versions of android x86, the main module `app_process` is not
built as PIE. When accessing the PT_GNU_EH_FRAME_HDR in such a
scenario, the `dlpi_addr` is 0, but the virtual address is not
relocated. Manually rebase the address to avoid an invalid memory
access.
llvm-svn: 299575
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions