[llvm-bugs] [Bug 50556] New: [yaml2obj] error: section '.shstrtab' should be present in the 'Sections' or 'Excluded' lists

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 2 00:34:20 PDT 2021


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

            Bug ID: 50556
           Summary: [yaml2obj] error: section '.shstrtab' should be
                    present in the 'Sections' or 'Excluded' lists
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: international.phantom at gmail.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

Using the test case:

//-----------------------
int test(int Var) {
  return Var;
}
//-----------------------

and the below commands, 'yaml2obj' generates a fatal error.

----------------------------------
clang -c -g -O0 test.cpp -o test.o
obj2yaml test.o > test.yaml
yaml2obj test.yaml -o new.o
----------------------------------

yaml2obj: error: section '.shstrtab' should be present in the 'Sections' or
'Excluded' lists

-- 
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/20210602/ca315e13/attachment.html>


More information about the llvm-bugs mailing list