[llvm-bugs] [Bug 52326] New: lld Mach-O backend reports a warning when using DWARF 5

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 26 23:40:07 PDT 2021


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: unassignedbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: gkm at fb.com, jezreel at gmail.com,
                    llvm-bugs at lists.llvm.org, nicolasweber at gmx.de,
                    smeenai at fb.com, vyng at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211027/7d753270/attachment.html>


More information about the llvm-bugs mailing list