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: unassignedb...@nondot.org
          Reporter: international.phan...@gmail.com
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to