Skip to content

Commit 24931b3

Browse files
committed
goto-instrument: document weak-memory instrumentation options
Help output included some, but not all, options supported by weak-memory model instrumentation (--mm <model>).
1 parent 37bbd11 commit 24931b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/goto-instrument/wmm/weak_memory.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,21 @@ void introduce_temporaries(
9797
" --one-event-per-cycle only instruments one event per cycle\n" \
9898
" --minimum-interference instruments an optimal number of events\n" \
9999
" --my-events only instruments events whose ids appear in inst.evt\n" /* NOLINT(whitespace/line_length) */ \
100+
" --read-first|--write-first only instrument cycles where a read or \n" \
101+
" write occurs as first event, respectively\n" \
102+
" --max-var N limit cycles to N variables read/written\n" \
103+
" --max-po-trans N limit cycles to N program-order edges\n" \
104+
" --ignore-arrays instrument arrays as a single object\n" \
105+
" --cav11 always instrument shared variables, even\n" \
106+
" when they are not part of any cycle\n" \
107+
" --force-loop-duplication|--no-loop-duplication\n" \
108+
" optional program transformation to\n" \
109+
" construct cycles in program loops\n" \
100110
" --cfg-kill enables symbolic execution used to reduce spurious cycles\n" /* NOLINT(whitespace/line_length) */ \
101111
" --no-dependencies no dependency analysis\n" \
102112
" --no-po-rendering no representation of the threads in the dot\n"\
113+
" --hide-internals do not include thread-internal (Rfi)\n" \
114+
" events in dot output\n" \
103115
" --render-cluster-file clusterises the dot by files\n" \
104116
" --render-cluster-function clusterises the dot by functions\n"
105117

0 commit comments

Comments
 (0)