xref: /llvm-project/lldb/test/Shell/Process/UnsupportedLanguage.test (revision fcee0333bab6747ca34188f3a781f4fef900b7fe)
1Test unsupported language warning
2
3REQUIRES: shell
4
5RUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \
6RUN:   | sed -e 's/DW_LANG_C99/DW_LANG_Mips_Assembler/g' >%t.ll
7RUN: %clang_host %t.ll -g -o %t.exe
8RUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix ASM
9
10ASM-NOT: This version of LLDB has no plugin for the language "assembler"
11
12RUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \
13RUN:   | sed -e 's/DW_LANG_C99/DW_LANG_Cobol74/g' >%t.ll
14RUN: %clang_host %t.ll -g -o %t.exe
15RUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix COBOL
16
17COBOL: This version of LLDB has no plugin for the language "cobol74"
18