OSDN Git Service

[DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing
authorJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 6 Feb 2019 10:13:14 +0000 (10:13 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 6 Feb 2019 10:13:14 +0000 (10:13 +0000)
commitd4180786f3d19d2975aab3df4b3412c8b984c959
tree8a11af4f644900ecfb37e4d8da777de98af4d2e4
parent02080367d85ba4c01361bb469b09aad0fafe288c
[DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing

This patch adds half a dozen new tests that test various edge cases in
the behaviour of the symbolizer and DWARF data parsing. All of them test
the current behaviour.

Reviewed by: JDevlieghere, aprantl

Differential Revision: https://reviews.llvm.org/D57741

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353286 91177308-0d34-0410-b5e6-96231b3b80d8
test/DebugInfo/Inputs/symbolize-64bit-addr.c [new file with mode: 0644]
test/DebugInfo/Inputs/symbolize-64bit-addr.elf.x86_64 [new file with mode: 0755]
test/DebugInfo/symbolize-64bit-address.test [new file with mode: 0644]
test/DebugInfo/symbolize-absolute-path-in-debug-line.s [new file with mode: 0644]
test/DebugInfo/symbolize-no-debug-str.test [new file with mode: 0644]
test/DebugInfo/symbolize-shared-abbrev.s [new file with mode: 0644]
test/DebugInfo/symbolize-stripped-sections.test [new file with mode: 0644]
test/tools/llvm-symbolizer/invalid-input-address.test [new file with mode: 0644]