<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57630>57630</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Multiple same `S_LOCAL` and S_BLOCK32 with same address range.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
debuginfo,
platform:windows
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ZequanWu
</td>
</tr>
</table>
<pre>
The following debug info is for this [function](https://source.chromium.org/chromium/chromium/src/+/main:media/capture/video/win/video_capture_device_factory_win.cc;l=182-199?q=LoadMediaFoundationDlls&ss=chromium). It has two problems confuses lldb:
1. It contains 3 `S_BLOCK32` records with same starting address and size but they have different local variables. Is this something valid?
2. It has 4 `S_LOCAL` records with exact the same info.
```
Symbols
============================================================
Mod 16810 | `C:\b\s\w\ir\cache\builder\src\out\Release\chrome.dll.lto.16109.obj`:
624 | S_LPROC32 [size = 96] `media::`anonymous namespace'::LoadMediaFoundationDlls`
parent = 0, end = 1100, addr = 0001:70549856, code size = 300
type = `0x11B0 (bool ())`, debug start = 0, debug end = 0, flags = none
720 | S_FRAMEPROC [size = 32]
size = 544, padding size = 0, offset to padding = 0
bytes of callee saved registers = 12, exception handler addr = 0000:0000
local fp reg = RSP, param fp reg = RBP
flags = secure checks | pgo | has profile counts | opt speed
752 | S_LOCAL [size = 60] `scoped_may_load_library_at_background_priority190`
type=0x284CB0 (base::internal::ScopedMayLoadLib...), flags = none
812 | S_DEFRANGE_FRAMEPOINTER_REL [size = 16]
offset = -544, range = [0001:70549885,+271)
gaps = []
828 | S_BLOCK32 [size = 24] ``
parent = 624, end = 1096
code size = 191, addr = 0001:70549934
852 | S_LOCAL [size = 20] `__end2`
type=0x21E0 (const wchar_t* const*), flags = optimized away
872 | S_LOCAL [size = 20] `__begin2`
type=0x21E0 (const wchar_t* const*), flags = optimized away
892 | S_BLOCK32 [size = 24] ``
parent = 828, end = 1092
code size = 191, addr = 0001:70549934
916 | S_LOCAL [size = 20] `kMfDLL`
type=0x1032 (const wchar_t*), flags = optimized away
936 | S_BLOCK32 [size = 24] ``
parent = 892, end = 1088
code size = 191, addr = 0001:70549934
960 | S_LOCAL [size = 16] `path`
type=0x15C3 (), flags = none
976 | S_DEFRANGE_FRAMEPOINTER_REL [size = 16]
offset = -528, range = [0001:70549934,+191)
gaps = []
992 | S_LOCAL [size = 16] `path`
type=0x15C3 (), flags = none
1008 | S_DEFRANGE_FRAMEPOINTER_REL [size = 16]
offset = -528, range = [0001:70549934,+191)
gaps = []
1024 | S_LOCAL [size = 16] `path`
type=0x15C3 (), flags = none
1040 | S_DEFRANGE_FRAMEPOINTER_REL [size = 16]
offset = -528, range = [0001:70549934,+191)
gaps = []
1056 | S_LOCAL [size = 16] `path`
type=0x15C3 (), flags = none
1072 | S_DEFRANGE_FRAMEPOINTER_REL [size = 16]
offset = -528, range = [0001:70549934,+191)
gaps = []
1088 | S_END [size = 4]
1092 | S_END [size = 4]
1096 | S_END [size = 4]
1100 | S_END [size = 4]
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVWNtu2zgQ_Rr5haggUhdLD36IL1kUm7RFUqDAvggURdlsKVEVqTjer98h5UuU1EkXcAvUkC2SQ3MOz5wZmS5UuZt93nBUKSnVVjRrVPKiXyPRVAoJDeMdMhtoePG86htmhGq8eOmRdGNMq73wyiPXcGnVd4z7bNOpWvS1r7o1jB6646bumPvSHD5rKhpYpOaloHYWbU3fcWg9iJIruAOmQy_fW_OSPwjG84oyo7pdDlN8xrxwLr1wiVPyDmeZF15_h96NouWtXfta9U1JLfqllNojiQbsyxOozEfvDdpQjcxWobZTheS1Rkw1Va-5RlKWhd1ssPSCK-wmg80Aeo1C5CXBfT6_-bj4OyTQRh1nqis12gqzQZrWHGlDO2PppWXZca0RbUqkxb8cFb0BhvkOnD9wVIqq4h1vDJKKUYkeaCcoYNHgUg-R0Krm0IC1HqgUJex0QEWOW4gGQ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