Port the two Process::PrintWarning functions to use the new diagnostic events through Debugger::ReportWarning. I kept the wrapper function in the process, but delegated the work to the Module. Consistent with the current code, the Module ensures the warning is only printed once per module. Differential revision: https://reviews.llvm.org/D123698
9 lines
336 B
Plaintext
9 lines
336 B
Plaintext
Test warnings.
|
|
REQUIRES: shell
|
|
RUN: %clang_host %S/Inputs/true.c -std=c99 -g -c -S -emit-llvm -o - \
|
|
RUN: | sed -e 's/DW_LANG_C99/DW_LANG_Mips_Assembler/g' >%t.ll
|
|
RUN: %clang_host %t.ll -g -o %t.exe
|
|
RUN: %lldb -o "b main" -o r -o q -b %t.exe 2>&1 | FileCheck %s
|
|
|
|
CHECK: This version of LLDB has no plugin for the language "assembler"
|