MSYS2-packages
MSYS2-packages copied to clipboard
LLDB errors during debugging gcc and clang files in Mingw64
Description / Steps to reproduce the issue
- Compile simple hello world application
clang -g hello.c
- lldb a.out
- b main
- run
- n
(lldb) run
(ocess 396 launched: 'Z:\a1\cprojects\hello-world1\tests\a.exe' (x86_64)
1 location added to breakpoint 1
Process 396 stopped
* thread #1, stop reason = breakpoint 1.2
frame #0: 0x00007ff707d71466 a.exe`main at hello-world.c:9:5
6 */
7 int main() {
8 // Print "Hello, World!" to the console
-> 9 printf("Hello, World!\n");
10
Expected behavior
Not error
Actual behavior
error: a.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but rang e extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message error: a.exe [0x0000000000002130]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message error: a.exe [0x0000000000002074]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000001a) attribute, but rang e extraction failed (invalid range list offset 0x1a), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but rang e extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this e rror message error: a.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but rang e extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this e rror message Process 396 stopped
- thread #1, stop reason = step over
Verification
- [X] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)
Windows Version
MINGW64_NT-10.0-19045
Are you willing to submit a PR?
No response