diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-04-26 06:59:30 +0000 | 
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-04-26 06:59:30 +0000 | 
| commit | dee900ae599bf88d89b2e30fb7c94f18e877c1b4 (patch) | |
| tree | 6cd0e6d5303b18809910dfdeb3c9145eeb913b9a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 2aa0bdeb257bff9f6e564d6400294f8441404e18 (diff) | |
| download | llvm-dee900ae599bf88d89b2e30fb7c94f18e877c1b4.zip llvm-dee900ae599bf88d89b2e30fb7c94f18e877c1b4.tar.gz llvm-dee900ae599bf88d89b2e30fb7c94f18e877c1b4.tar.bz2 | |
[LLD][ELF] - Do not remove empty sections referenced in LOADADDR/ADDR commands.
This is https://bugs.llvm.org//show_bug.cgi?id=38750.
If script references empty sections in LOADADDR/ADDR commands
.empty  : { *(.empty ) }
.text   : AT(LOADADDR (.empty) + SIZEOF (.empty)) { *(.text) }
then an empty section will be removed and LOADADDR/ADDR will evaluate to null.
It is not that user may expect from using of the generic script, what is a common case.
Differential revision: https://reviews.llvm.org/D54621
llvm-svn: 359279
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
