mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +00:00

If we have input without object files, for example if we have only .so code crashes in checkFlags(), getPicFlags(), getArchFlags() functions. Patch fixes the issue. Differential revision: https://reviews.llvm.org/D25237 llvm-svn: 283226
6 lines
202 B
ArmAsm
6 lines
202 B
ArmAsm
# REQUIRES: mips
|
|
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld %t.o -shared -o %t.so
|
|
# RUN: ld.lld %t.so -shared -o %t2.so
|
|
# RUN: llvm-readobj %t2.so > /dev/null 2>&1
|