aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-breakpoint-by-addr.test
blob: 0a9dfd916a9c72e0210c7a966b3a7f7342064534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out
# RUN: %lldb %t.out -b -s %s | FileCheck %s

breakpoint set -a "main+26"
breakpoint set -a "main+ 26"
breakpoint set -a "main +26"
breakpoint set -a "main + 26"
breakpoint set -a "main  +    26"

# CHECK: Breakpoint 1: address = 
# CHECK: Breakpoint 2: address = 
# CHECK: Breakpoint 3: address = 
# CHECK: Breakpoint 4: address = 
# CHECK: Breakpoint 5: address =