Skip to content

Commit 98dbce3

Browse files
authored
[MC] Unhide the target-abi option. (#123135)
This option is very important for RISC-V as it controls calling convention and a field in the ELF header. It is used in a large number of RISC-V lit tests. Expose the option to -help. Fixes one issue raised in #123077
1 parent ef77188 commit 98dbce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/MC/MCTargetOptionsCommandFlags.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ llvm::mc::RegisterMCTargetOptionsFlags::RegisterMCTargetOptionsFlags() {
156156
MCBINDOPT(X86Sse2Avx);
157157

158158
static cl::opt<std::string> ABIName(
159-
"target-abi", cl::Hidden,
159+
"target-abi",
160160
cl::desc("The name of the ABI to be targeted from the backend."),
161161
cl::init(""));
162162
MCBINDOPT(ABIName);

0 commit comments

Comments
 (0)