https://bugs.llvm.org/show_bug.cgi?id=52326

            Bug ID: 52326
           Summary: lld Mach-O backend reports a warning when using DWARF
                    5
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: MachO
          Assignee: unassignedb...@nondot.org
          Reporter: pho...@chromium.org
                CC: g...@fb.com, jezr...@gmail.com,
                    llvm-bugs@lists.llvm.org, nicolaswe...@gmx.de,
                    smee...@fb.com, v...@google.com

You can reproduce it with the following:

```
$ cat >a.c <<EOF
int main() {}
EOF
$ clang a.c -gdwarf-5 -fuse-ld=lld
ld64.lld: warning: /var/folders/5t/h2t4fx3d2bg1yfs2pcwgzzlw0056zt/T/a-60c5cf.o:
invalid reference to or invalid content in .debug_str_offsets[.dwo]: section
offset exceeds section size
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to