Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename human-readable name for DW_LANG_Mips_Assembler
The Mips in DW_LANG_Mips_Assembler is a vendor name not an architecture name and in lack of a proper generic DW_LANG_assembler, some assemblers emit DWARF using this tag. Due to a warning I recently introduced users will now be greeted with This version of LLDB has no plugin for the mipsassem language. Inspection of frame variables will be limited. By renaming this to just "Assembler" this error message will make more sense. Differential Revision: https://reviews.llvm.org/D101406 rdar://77214764
- Loading branch information
1 parent
e1aa528
commit 017d7a9
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
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_PLI/g' >%t.ll | ||
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 | FileCheck %s | ||
|
||
CHECK: This version of LLDB has no plugin for the pli language | ||
CHECK: This version of LLDB has no plugin for the language "assembler" |