diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:46:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:46:53 +0000 |
commit | f17a03afeb2feac54dcbcf6b66cf3b582c3d144f (patch) | |
tree | 73936aba47fe1dc71e9cc05af9747036e935608c /compiler-test.sh | |
parent | fb05c036ea3bc0ffc7e7e530c04b0d9a066312cf (diff) | |
parent | 4e4201457e5f51a132101c611c79ccff9f713c8b (diff) | |
download | toolchain-utils-android12-mainline-tzdata3-release.tar.gz |
Snap for 8730993 from 4e4201457e5f51a132101c611c79ccff9f713c8b to mainline-tzdata3-releaseaml_tz3_314012070aml_tz3_314012050aml_tz3_314012010aml_tz3_313110000aml_tz3_312511020aml_tz3_312511010aml_tz3_312410020aml_tz3_312410010android12-mainline-tzdata3-releaseaml_tz3_314012010
Change-Id: I8c7d4dd2dae5ae34360857d359ae3a52d87c17f0
Diffstat (limited to 'compiler-test.sh')
-rwxr-xr-x | compiler-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler-test.sh b/compiler-test.sh index fe552a51..8083e2d2 100755 --- a/compiler-test.sh +++ b/compiler-test.sh @@ -10,6 +10,9 @@ # each compiler. It writes out these statistics when it is done. # # For a locally-built ChromeOS image, the debug directory is usually: +# ${chromeos_root}/chroot/build/${board}/usr/lib/debug (from outside +# chroot) +# or # /build/${board}/usr/lib/debug (from inside chroot) # # For a buildbot-built image you can usually download the debug tree @@ -41,7 +44,7 @@ fi cd ${DEBUG_TREE} for f in `find . -name "*.debug" -type f` ; do - at_producer=`llvm-dwarfdump $f | head -25 | grep AT_producer `; + at_producer=`readelf --debug-dump=info $f | head -25 | grep AT_producer `; if echo ${at_producer} | grep -q 'GNU C' ; then ((gcc_count++)) elif echo ${at_producer} | grep -q 'clang'; then |