xref: /llvm-project/lldb/test/Shell/Process/UnsupportedLanguage.test (revision fcee0333bab6747ca34188f3a781f4fef900b7fe)
1*fcee0333SJonas DevlieghereTest unsupported language warning
2*fcee0333SJonas Devlieghere
3220c17ffSAdrian PrantlREQUIRES: shell
4*fcee0333SJonas Devlieghere
5220c17ffSAdrian PrantlRUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \
6017d7a9eSAdrian PrantlRUN:   | sed -e 's/DW_LANG_C99/DW_LANG_Mips_Assembler/g' >%t.ll
7220c17ffSAdrian PrantlRUN: %clang_host %t.ll -g -o %t.exe
8*fcee0333SJonas DevlieghereRUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix ASM
9220c17ffSAdrian Prantl
10*fcee0333SJonas DevlieghereASM-NOT: This version of LLDB has no plugin for the language "assembler"
11*fcee0333SJonas Devlieghere
12*fcee0333SJonas DevlieghereRUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \
13*fcee0333SJonas DevlieghereRUN:   | sed -e 's/DW_LANG_C99/DW_LANG_Cobol74/g' >%t.ll
14*fcee0333SJonas DevlieghereRUN: %clang_host %t.ll -g -o %t.exe
15*fcee0333SJonas DevlieghereRUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix COBOL
16*fcee0333SJonas Devlieghere
17*fcee0333SJonas DevlieghereCOBOL: This version of LLDB has no plugin for the language "cobol74"
18