[PATCH] D115948: [llvm-profgen] Support to load debug info from a second binary
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 17 15:56:31 PST 2021
hoy added inline comments.
================
Comment at: llvm/test/tools/llvm-profgen/inline-noprobe2.test:112
; clang -O3 -g -fno-optimize-sibling-calls -fdebug-info-for-profiling qsort.c -o a.out
+; objcopy --only-keep-debug inline-noprobe2.perfbin inline-noprobe2.dbg
#include <stdio.h>
----------------
We should be able to use llvm-objcopy in the test, so the existing test binary can be reused and with an extra test step running llvm-objcopy.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115948/new/
https://reviews.llvm.org/D115948
More information about the llvm-commits
mailing list