add llvm writable attribute conditionally

This commit is contained in:
Dominik Schwaiger
2026-04-16 12:29:39 +00:00
parent 57cb10ae1e
commit da2bbfbbec
16 changed files with 95 additions and 4 deletions
+2
View File
@@ -2530,6 +2530,8 @@ pub(crate) fn parse_assert_incr_state(
"a list LLVM plugins to enable (space separated)"),
llvm_time_trace: bool = (false, parse_bool, [UNTRACKED],
"generate JSON tracing data file from LLVM data (default: no)"),
llvm_writable: bool = (false, parse_bool, [TRACKED],
"emit the LLVM writable attribute for mutable reference arguments (default: no)"),
location_detail: LocationDetail = (LocationDetail::all(), parse_location_detail, [TRACKED],
"what location details should be tracked when using caller_location, either \
`none`, or a comma separated list of location details, for which \