21 lines · plain
1Test unsupported language warning2 3TODO: This test does not work on Windows, seemingly because the sed commands4are not actually doing anything. This should be fixed so we can enable this on5Windows.6UNSUPPORTED: system-windows7 8RUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \9RUN: | sed -e 's/DW_LANG_C99/DW_LANG_Mips_Assembler/g' >%t.ll10RUN: %clang_host %t.ll -g -o %t.exe11RUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix ASM12 13ASM-NOT: This version of LLDB has no plugin for the language "assembler"14 15RUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \16RUN: | sed -e 's/DW_LANG_C99/DW_LANG_Cobol74/g' >%t.ll17RUN: %clang_host %t.ll -g -o %t.exe18RUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s --check-prefix COBOL19 20COBOL: This version of LLDB has no plugin for the language "cobol74"21