set_source_root
Maps a tape's compiled source prefix to a local directory so file:line and origin can display code and verify hash matches, reporting any mismatch.
Instructions
Map the compiled source prefix recorded on the tape (for aadc-quantlib-tracing 1.41 it is /project/work/QLAADC/ql) to a local directory holding that source, so 'at FILE:LINE' and 'origin' can show the code. Later answers say hash=ok when the local file is the one the library was compiled from and hash=MISMATCH when it is not; a mismatch is reported, never silent. Remembered for this tape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tape_id | Yes | ||
| local_dir | Yes | ||
| compiled_prefix | Yes |