diff options
| author | Vedant Kumar <vsk@apple.com> | 2017-09-05 22:04:00 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2017-09-05 22:04:00 +0000 |
| commit | 3ae41704805944d2f7ecf38e9638b21a62006978 (patch) | |
| tree | 122f898ebfd27b6e5baa1b07331b6a31ee88aeed /llvm/test | |
| parent | 29c748716724570c634e557f862bceb321d1b9ea (diff) | |
| download | bcm5719-llvm-3ae41704805944d2f7ecf38e9638b21a62006978.tar.gz bcm5719-llvm-3ae41704805944d2f7ecf38e9638b21a62006978.zip | |
Revert "[Decompression] Fail gracefully when out of memory"
This reverts commit r312526.
Revert "Fix test/DebugInfo/dwarfdump-decompression-invalid-size.test"
This reverts commit r312527.
It causes an ASan failure:
http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_check/4150
llvm-svn: 312582
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/DebugInfo/Inputs/dwarfdump-decompression-invalid-size.elf-x86-64 | bin | 6853 -> 0 bytes | |||
| -rw-r--r-- | llvm/test/DebugInfo/dwarfdump-decompression-invalid-size.test | 15 |
2 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-decompression-invalid-size.elf-x86-64 b/llvm/test/DebugInfo/Inputs/dwarfdump-decompression-invalid-size.elf-x86-64 Binary files differdeleted file mode 100644 index 7e6efcf1f5b..00000000000 --- a/llvm/test/DebugInfo/Inputs/dwarfdump-decompression-invalid-size.elf-x86-64 +++ /dev/null diff --git a/llvm/test/DebugInfo/dwarfdump-decompression-invalid-size.test b/llvm/test/DebugInfo/dwarfdump-decompression-invalid-size.test deleted file mode 100644 index 32e9d2e63b3..00000000000 --- a/llvm/test/DebugInfo/dwarfdump-decompression-invalid-size.test +++ /dev/null @@ -1,15 +0,0 @@ -REQUIRES: zlib - -// dwarfdump-decompression-invalid-size.elf-x86-64 is prepared using following -// source code and invocation: -// test.cpp: -// int main() { return 0; } -// -// gcc test.cpp -o out -g -Wl,--compress-debug-sections,zlib -// -// After that result object was modified manually. Decompressed size of -// .debug_frame section was changed to 0xffffffffffffffff in compression -// header. -RUN: not llvm-dwarfdump %p/Inputs/dwarfdump-decompression-invalid-size.elf-x86-64 2>&1 | FileCheck %s - -CHECK: decompression of '.debug_frame' failed: unable to allocate 18446744073709551615 bytes. |

