Files
clang-p2996/lldb/test/Shell/Breakpoint/ppc64-localentry.test
serge-sans-paille f416e57339 [lldb] Fix ppc64 detection in lldb
Currently, ppc64le and ppc64 (defaulting to big endian) have the same
descriptor, thus the linear scan always return ppc64le. Handle that through
subtype.

This is a recommit of f114f00948 with a new test
setup that doesn't involves (unsupported) corefiles.

Differential Revision: https://reviews.llvm.org/D124760
2022-05-05 09:22:02 +02:00

13 lines
351 B
Plaintext

# REQUIRES: powerpc
#
# RUN: llvm-mc -triple=powerpc64 -filetype=obj %p/Inputs/ppc64-localentry.s -o %t
# RUN: lldb-test breakpoints %t %s | FileCheck %s
breakpoint set -n lfunc
# CHECK-LABEL: breakpoint set -n lfunc
# CHECK: Address: {{.*}}`lfunc + 8
breakpoint set -n simple
# CHECK-LABEL: breakpoint set -n simple
# CHECK: Address: {{.*}}`simple