xref: /aosp_15_r20/external/llvm/test/tools/llvm-dwp/X86/duplicate.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate/c.dwo %p/../Inputs/duplicate/c.dwo -o %t 2>&1 \
2*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=DWOS %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate/c.dwo %p/../Inputs/duplicate/bc.dwp -o %t 2>&1 \
5*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=2DWP %s
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate/ac.dwp %p/../Inputs/duplicate/c.dwo -o %t 2>&1 \
8*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=1DWP %s
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate_dwo_name/c.dwo %p/../Inputs/duplicate_dwo_name/c.dwo -o %t 2>&1 \
11*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=DWODWOS %s
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate_dwo_name/c.dwo %p/../Inputs/duplicate_dwo_name/bc.dwp -o %t 2>&1 \
14*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=DWO2DWP %s
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dwp %p/../Inputs/duplicate_dwo_name/ac.dwp %p/../Inputs/duplicate_dwo_name/c.dwo -o %t 2>&1 \
17*9880d681SAndroid Build Coastguard WorkerRUN:   | FileCheck --check-prefix=DWO1DWP %s
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard WorkerBuild from a, b, and c.c all containing a single void() func by the name of the file.
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard WorkerDWOS: error: Duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c'{{$}}
22*9880d681SAndroid Build Coastguard Worker1DWP: error: Duplicate DWO ID ({{.*}}) in 'c.c' (from '{{.*}}ac.dwp') and 'c.c'{{$}}
23*9880d681SAndroid Build Coastguard Worker2DWP: error: Duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c' (from '{{.*}}bc.dwp'){{$}}
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard WorkerDWODWOS: error: Duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c'{{$}}
26*9880d681SAndroid Build Coastguard WorkerDWO1DWP: error: Duplicate DWO ID ({{.*}}) in 'c.c' (from 'c.dwo' in '{{.*}}ac.dwp') and 'c.c'{{$}}
27*9880d681SAndroid Build Coastguard WorkerDWO2DWP: error: Duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c' (from 'c.dwo' in '{{.*}}bc.dwp'){{$}}
28