HomePhabricator

[RISCV] Don't crash on unsupported relocations

Authored by luismarques on Dec 19 2019, 9:20 AM.

Description

[RISCV] Don't crash on unsupported relocations

Summary: Instead of crashing due to the llvm_unreachable, provide a proper
error when invalid fixups/relocations are encountered.

Reviewers: asb, lenary
Reviewed By: asb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71536

Details

Committed
luismarquesDec 19 2019, 9:21 AM
Reviewer
asb
Differential Revision
D71536: [RISCV] Don't crash on unsupported relocations
Parents
rG13d30bd54b8b: [x86] add test for missing FMF propagation; NFC
Branches
Unknown
Tags
Unknown