summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/SymbolFile/checksum-mismatch.test
blob: 8dc55f80e5c2ef9fd83a8f7f12424b8f572ea5d9 (plain)
1
2
3
4
5
6
7
8
9
UNSUPPORTED: system-windows

RUN: mkdir -p %t
RUN: cp %S/Inputs/main.c %t/main.c
RUN: %clang_host %t/main.c -std=c99 -gdwarf-5 -o %t/main.out
RUN: echo "// Modify source file hash" >> %t/main.c
RUN: %lldb -b %t/main.out -o 'b main' -o 'r' 2>&1 | FileCheck %s

CHECK: warning: main.c: source file checksum mismatch between line table ({{.*}}) and file on disk ({{.*}})