commit | 15f5d688d05162ab7a5afb9158659e1db4ca104d | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Sat Apr 03 03:59:26 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Apr 03 03:59:26 2021 +0000 |
tree | 01f3407b9af6c77409a0482b23f29857c4b420ba | |
parent | 176cf46f400e762dbc35bb9c5ba85bae881c1851 [diff] | |
parent | 6f43f54264695161150a7c1497545c6d068eb07b [diff] |
Merge "Fix toc.sh, llvm-nm does not recognise '-f P' option"
diff --git a/scripts/toc.sh b/scripts/toc.sh index af8bece..c6b7866 100755 --- a/scripts/toc.sh +++ b/scripts/toc.sh
@@ -57,7 +57,7 @@ do_pe() { "${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}" ${outfile}: \\