Further refactoring towards steamrt/tasks#595
2 unresolved threads
2 unresolved threads
Compare changes
pv-adverb: Factor out parsing of --ld-preload, --ld-audit arguments
This allows it to have test coverage.
pv-wrap: Use PvPreloadVariableIndex to represent LD_PRELOAD vs. LD_AUDIT
Convert to a concrete pv-adverb option name at the last possible moment.
This will help us to centralize the code to map to/from pv-adverb command-line options.
pv-wrap: Use an index into pv_multiarch_tuples to represent architecture
This will help us to centralize the code that maps to/from pv-adverb command-line options.
pv-wrap: Build adverb arguments from PvAdverbPreloadModule structs
This means all the parsing and serialization is in one place, and we can round-trip between the struct representation and the command-line option representation.
pv-adverb: Factor out processing of each PvAdverbPreloadModule
No functional change. Best reviewed with git show --ignore-space-change
.
As usual with refactoring, best reviewed a commit at a time.