Merge "Fix toc.sh, llvm-nm does not recognise '-f P' option" am: 15f5d688d0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1663144 Change-Id: I27e1f231813a350a3eabfc17aba6ae172546710b
This commit is contained in:
@@ -57,7 +57,7 @@ EOF
|
|||||||
|
|
||||||
do_pe() {
|
do_pe() {
|
||||||
"${CLANG_BIN}/llvm-objdump" -x "${infile}" | grep "^Name" | cut -f3 -d" " > "${outfile}.tmp"
|
"${CLANG_BIN}/llvm-objdump" -x "${infile}" | grep "^Name" | cut -f3 -d" " > "${outfile}.tmp"
|
||||||
"${CLANG_BIN}/llvm-nm" -g -f p "${infile}" | cut -f1-2 -d" " >> "${outfile}.tmp"
|
"${CLANG_BIN}/llvm-nm" -gP "${infile}" | cut -f1-2 -d" " >> "${outfile}.tmp"
|
||||||
|
|
||||||
cat <<EOF > "${depsfile}"
|
cat <<EOF > "${depsfile}"
|
||||||
${outfile}: \\
|
${outfile}: \\
|
||||||
|
Reference in New Issue
Block a user