diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-01 15:25:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-01 15:25:46 +0000 |
commit | e75b42ee4ef0ed54d73a93c66f8bb9e9ed4e7006 (patch) | |
tree | 3604b9df58f5c36159645b17b844729c3f2a50cc /lldb/packages/Python/lldbsuite/test/lang/cpp | |
parent | 237e52674fb0f3959da2f3422905cdafc796ae45 (diff) | |
download | bcm5719-llvm-e75b42ee4ef0ed54d73a93c66f8bb9e9ed4e7006.tar.gz bcm5719-llvm-e75b42ee4ef0ed54d73a93c66f8bb9e9ed4e7006.zip |
Don't allocate a header bellow address 0.
With the current code if the script has a PHDRS we always obey and try
to allocate a header. This can cause Min - HeaderSize to underflow.
It looks like bfd actually prints an error for this case. With this
patch we do the same.
Found while looking at pr36515.
llvm-svn: 326441
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp')
0 files changed, 0 insertions, 0 deletions