Summary: Previously we would dereference Symtab without checking for null. Reviewers: davide, atanasyan, rafael Reviewed By: davide, atanasyan Differential Revision: https://reviews.llvm.org/D38080 llvm-svn: 313970
6 lines
199 B
Plaintext
6 lines
199 B
Plaintext
# RUN: obj2yaml %S/Inputs/crt1.o | FileCheck %s
|
|
# test that we don't crash when passed object files without a symbol table
|
|
# CHECK-LABEL: FileHeader:
|
|
# CHECK-LABEL: Sections:
|
|
# CHECK-LABEL: Symbols:
|