diff options
author | 2022-08-17 15:45:52 -0700 | |
---|---|---|
committer | 2022-11-10 20:22:48 +0000 | |
commit | 3e739cf4269a6d7160b9e98d89b61f7f0bdcc1c8 (patch) | |
tree | 2695dba9ee9b918207a644cdf7a446dec42a2b45 /scripts/gen-java-current-api-files.sh | |
parent | dfd50cc813a5181b94b32004303c4ead1c7225f3 (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/gen-java-current-api-files.sh')
0 files changed, 0 insertions, 0 deletions