summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-11-01 21:33:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-11-01 21:33:55 +0000
commit7909e22c7ce3ce9e5547806c7b7dbe5e557aa9cc (patch)
tree9427aeac3476b4753fda9f27b63445bec5179c95 /llvm/test/Object
parent883ebacd7885be5299e171da2e46e278c13bf671 (diff)
downloadbcm5719-llvm-7909e22c7ce3ce9e5547806c7b7dbe5e557aa9cc.tar.gz
bcm5719-llvm-7909e22c7ce3ce9e5547806c7b7dbe5e557aa9cc.zip
Don't compute DotShstrtab eagerly.
This saves a field that is not always used. It also avoids failing a program that doesn't need the section names. llvm-svn: 285753
Diffstat (limited to 'llvm/test/Object')
-rw-r--r--llvm/test/Object/Inputs/invalid-section-index2.elfbin435 -> 0 bytes
-rw-r--r--llvm/test/Object/invalid.test1
2 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/Object/Inputs/invalid-section-index2.elf b/llvm/test/Object/Inputs/invalid-section-index2.elf
deleted file mode 100644
index 92c372a25f8..00000000000
--- a/llvm/test/Object/Inputs/invalid-section-index2.elf
+++ /dev/null
Binary files differ
diff --git a/llvm/test/Object/invalid.test b/llvm/test/Object/invalid.test
index 057239de991..da30c64ea44 100644
--- a/llvm/test/Object/invalid.test
+++ b/llvm/test/Object/invalid.test
@@ -42,7 +42,6 @@ RUN: not llvm-readobj --dyn-symbols %p/Inputs/invalid-sh_entsize.elf 2>&1 | File
INVALID-DYNSYM-SIZE: Invalid entity size
RUN: not llvm-readobj -t %p/Inputs/invalid-section-index.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-INDEX %s
-RUN: not llvm-readobj -t %p/Inputs/invalid-section-index2.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-INDEX %s
INVALID-SECTION-INDEX: Invalid section index
RUN: not llvm-readobj -s %p/Inputs/invalid-section-size.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-SIZE %s
OpenPOWER on IntegriCloud