summaryrefslogtreecommitdiffstats
path: root/lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-07 20:31:28 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-07 20:31:28 +0000
commit4db091754b401832b8748b6aa431015771bf0908 (patch)
treed048689fda5916ea07c4c15fc1801989c3fcb24e /lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test
parent369407fc52238ba2d11628975e345d766ce24fee (diff)
downloadbcm5719-llvm-4db091754b401832b8748b6aa431015771bf0908.tar.gz
bcm5719-llvm-4db091754b401832b8748b6aa431015771bf0908.zip
[test] Rename `Modules` to `ObjectFile` (NFC)
llvm-svn: 373955
Diffstat (limited to 'lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test')
-rw-r--r--lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test b/lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test
new file mode 100644
index 00000000000..9ea5c9da781
--- /dev/null
+++ b/lldb/lit/ObjectFile/Breakpad/sections-trailing-func.test
@@ -0,0 +1,15 @@
+# Test handling of a (valid) breakpad file, which ends with a line without a
+# recognised keyword.
+
+RUN: lldb-test object-file %p/Inputs/sections-trailing-func.syms -contents | FileCheck %s
+
+CHECK: Showing 4 sections
+
+CHECK: ID: 0x4
+CHECK-NEXT: Name: FUNC
+CHECK: File size: 66
+CHECK-NEXT: Data: (
+CHECK-NEXT: 0000: 46554E43 20313031 30203130 2030205F 73746172 740A3130 31302034 20342030 |FUNC 1010 10 0 _start.1010 4 4 0|
+CHECK-NEXT: 0020: 0A313031 34203520 3520300A 31303139 20352036 20300A31 30316520 32203720 |.1014 5 5 0.1019 5 6 0.101e 2 7 |
+CHECK-NEXT: 0040: 300A |0.|
+CHECK-NEXT: )
OpenPOWER on IntegriCloud