diff options
| author | George Rimar <grimar@accesssoftek.com> | 2018-03-02 08:11:58 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2018-03-02 08:11:58 +0000 |
| commit | 97785af4644957a90e7ce238a7983d2cffd73d25 (patch) | |
| tree | cd617c285f881bf7cf452e6857748ca7723d6c28 /llvm/unittests/ADT/SmallVectorTest.cpp | |
| parent | 7e55245213c5cff4547d19c8f8e07aeb3ca337aa (diff) | |
| download | bcm5719-llvm-97785af4644957a90e7ce238a7983d2cffd73d25.tar.gz bcm5719-llvm-97785af4644957a90e7ce238a7983d2cffd73d25.zip | |
[ELF] - Report error when memory region is overflowed by data commands.
LLD can not catch a memory area overflow when using a data command.
If we have the script below:
.foo :
{
*(.foo)
BYTE(0x1)
} > ram
where BYTE overflows the ram region, we do not report it currently.
Patch fixes that.
Differential revision: https://reviews.llvm.org/D43948
llvm-svn: 326545
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions

