OSDN Git Service

[MIPS] Don't crash on unsized extern types with -mgpopt
authorAlexander Richardson <arichardson.kde@gmail.com>
Fri, 26 Jan 2018 15:56:14 +0000 (15:56 +0000)
committerAlexander Richardson <arichardson.kde@gmail.com>
Fri, 26 Jan 2018 15:56:14 +0000 (15:56 +0000)
commit1a600508c3cad32d225c1b2fb338cf560e7c8510
treeeabd5927a37601ada0b7c3de343dafa981f2e69d
parent17d3ed3a32f2cd63a1ad052fd2194ae3acb20ccb
[MIPS] Don't crash on unsized extern types with -mgpopt

Summary: This fixes an assertion when building the FreeBSD MIPS64 kernel.

Reviewers: atanasyan, sdardis, emaste

Reviewed By: sdardis

Subscribers: krytarowski, llvm-commits

Differential Revision: https://reviews.llvm.org/D42571

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323536 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsTargetObjectFile.cpp
test/CodeGen/Mips/unsized-global.ll [new file with mode: 0644]