commit | 9816f9eac902b84ec044bc11f6243d9e9400f3ef | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Thu Oct 15 06:41:45 2015 +0000 |
committer | Lang Hames <lhames@gmail.com> | Thu Oct 15 06:41:45 2015 +0000 |
tree | 8cdb25148405cbd6a262955f75f780f8abddcc72 | |
parent | c770c8d638a69cd3cd527c54f08008f45bbab2c5 [diff] |
[RuntimeDyld] Don't try to get the contents of sections that don't have any (e.g. bss sections). MachO and ELF have been silently letting this pass, but COFFObjectFile contains an assertion to catch this kind of (ab)use of the getSectionContents, and this was causing the JIT to crash on COFF objects with BSS sections. This patch should fix that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250371 91177308-0d34-0410-b5e6-96231b3b80d8