summaryrefslogtreecommitdiff
path: root/scripts/build-rustdocs.sh
diff options
context:
space:
mode:
author Connor O'Brien <connoro@google.com> 2022-08-17 15:45:52 -0700
committer Connor O'Brien <connoro@google.com> 2022-11-10 20:22:48 +0000
commit3e739cf4269a6d7160b9e98d89b61f7f0bdcc1c8 (patch)
tree2695dba9ee9b918207a644cdf7a446dec42a2b45 /scripts/build-rustdocs.sh
parentdfd50cc813a5181b94b32004303c4ead1c7225f3 (diff)
bpf: use relative source file path in debug info
Enabling BTF leads clang to generate debug line info that includes the absolute path to the source file. For C++ modules the -fdebug-prefix-map flag is used to convert these to relative paths. Do the same for BPF programs when BTF is enabled. Test: build timeInState.c; strings shows only relative path to source file Bug: 238165437 Signed-off-by: Connor O'Brien <connoro@google.com> Change-Id: Ie4ebc8f9a7d115baeddde5c7ac3ae710335ddf13
Diffstat (limited to 'scripts/build-rustdocs.sh')
0 files changed, 0 insertions, 0 deletions