[lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

Vladimir Vereschaka via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 23:36:06 PDT 2024


vvereschaka wrote:

This build got the same failed test on the windows host - https://lab.llvm.org/buildbot/#/builders/141/builds/318

```
Failed Tests (1):
  lldb-shell :: SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
```

```
# .---command stderr------------
# | C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\SymbolFile\DWARF\x86\dwp-foreign-type-units.cpp:34:16: error: NODWP-NEXT: is not on the line after the previous match
# | // NODWP-NEXT: unsigned int
# |                ^
# | <stdin>:20:10: note: 'next' match was here
# |  typedef unsigned int IntegerType;
# |          ^
# | <stdin>:7:13: note: previous match ended here
# | unsigned int
# |             ^
# | <stdin>:8:1: note: non-matching line after previous match is here
# | int
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\SymbolFile\DWARF\x86\dwp-foreign-type-units.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         15:  typedef double FloatType; 
# |         16:  CustomType::IntegerType x; 
# |         17:  CustomType::FloatType y; 
# |         18: } 
# |         19: struct CustomType { 
# |         20:  typedef unsigned int IntegerType; 
# | next:34              !~~~~~~~~~~~               error: match on wrong line
# |         21:  typedef float FloatType; 
# |         22:  CustomType::IntegerType x; 
# |         23:  CustomType::FloatType y; 
# |         24: } 
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```

https://github.com/llvm/llvm-project/pull/87740


More information about the llvm-commits mailing list