summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerDriver.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-12-19 21:21:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-12-19 21:21:07 +0000
commit5967c973238605101632e320ea1f7990a6cd9b27 (patch)
treedfe6edfb7499e4024681284620c86777fa642075 /llvm/lib/Fuzzer/FuzzerDriver.cpp
parent353395e3c2f6e3509c9c45654bbdd3546d630deb (diff)
downloadbcm5719-llvm-5967c973238605101632e320ea1f7990a6cd9b27.tar.gz
bcm5719-llvm-5967c973238605101632e320ea1f7990a6cd9b27.zip
Fix corner cases of setting the section address.
This handles all the corner cases if setting a section address: - If the address is too low, we cannot allocate the program headers. - If the load address is lowered, we have to do that before finalize This also shares some code with the linker script since it was already hitting similar cases. This is used by the freebsd boot loader. It is not clear if we need to support this with a non binary output, but it is not as bad as I was expecting. llvm-svn: 290136
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerDriver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud