[all-commits] [llvm/llvm-project] ec4f06: [RISCV] Don't crash on unsupported relocations
Luís Marques via All-commits
all-commits at lists.llvm.org
Thu Dec 19 09:22:00 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ec4f06a77ded520747e119fdac1f70a010d6b6a8
https://github.com/llvm/llvm-project/commit/ec4f06a77ded520747e119fdac1f70a010d6b6a8
Author: Luís Marques <luismarques at lowrisc.org>
Date: 2019-12-19 (Thu, 19 Dec 2019)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
A llvm/test/MC/RISCV/fixups-invalid.s
Log Message:
-----------
[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
More information about the All-commits
mailing list