[llvm-bugs] [Bug 40876] New: [aarch64] clang-cl 8.0rc2 generates unwind data that llvm-readelf cannot parse

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 26 14:01:30 PST 2019


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

            Bug ID: 40876
           Summary: [aarch64] clang-cl 8.0rc2 generates unwind data that
                    llvm-readelf cannot parse
           Product: new-bugs
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: froydnj at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

In:

https://github.com/froydnj/aarch64-xdata-bug

is an aarch64 windows .obj file, generated by "clang 8.0.0 tags/RELEASE_800/rc2
353414".  Running `llvm-readelf -unwind $OBJ` produces an error message:

LLVM ERROR: .xdata must be at least 8 bytes in size

with truncated output.

I'm not sure whether clang is at fault here or whether llvm-readelf is doing
the wrong thing.

The preprocessed source for the file is included, and cmdline.txt contains the
command-line used to compile the file.

-- 
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/20190226/bfa4be83/attachment.html>


More information about the llvm-bugs mailing list