[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / DebugInfo / symbolize-filter-markup-error-location.test
blob4c7a7e51c2b908c31ffced077197649258eab6bc
1 RUN: split-file %s %t
2 RUN: llvm-symbolizer --filter-markup < %t/log > /dev/null 2> %t.err
3 RUN: FileCheck %s -input-file=%t.err --match-full-lines --strict-whitespace
5 CHECK:error: expected 1 field(s); found 0
6 CHECK:[[BEGIN:[{]{3}]]symbol[[END:[}]{3}]]
7 CHECK:         ^
8 CHECK:error: expected 1 field(s); found 0
9 CHECK:foo[[BEGIN]]symbol[[END]]bar[[BEGIN]]symbol[[END]]baz
10 CHECK:            ^
11 CHECK:error: expected 1 field(s); found 0
12 CHECK:foo[[BEGIN]]symbol[[END]]bar[[BEGIN]]symbol[[END]]baz
13 CHECK:                           ^
15 ;--- log
16 {{{symbol}}}
17 foo{{{symbol}}}bar{{{symbol}}}baz