[PATCH] D139553: [llvm-objdump][RISCV] Use new common method to parse ARCH RISCV attribute
Elena Lepilkina via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 02:34:11 PST 2023
eklepilkina added inline comments.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:2014
+ if (!FeaturesValue)
+ WithColor::error(errs(), ToolName) << FeaturesValue.takeError();
+ SubtargetFeatures Features = *FeaturesValue;
----------------
foad wrote:
> How does this work? Don't we need to somehow exit after reporting the error? Is there a test for this path?
Yep, true, missed this, thank you. I'll make a new review to fix this today. This is already merged.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139553/new/
https://reviews.llvm.org/D139553
More information about the llvm-commits
mailing list