Synced debuginfo check with 17
This commit is contained in:
parent
3d2f8374c5
commit
9024e7acee
@ -1846,9 +1846,9 @@ function debugcheckjdk() {
|
|||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for line in $(eu-readelf -s "$lib" | grep "00000000 0 FILE LOCAL DEFAULT")
|
for line in $(eu-readelf -s "$lib" | grep "00000000 0 FILE LOCAL DEFAULT")
|
||||||
do
|
do
|
||||||
# We expect to see .cpp files, except for architectures like aarch64 and
|
# We expect to see .cpp and .S files, except for architectures like aarch64 and
|
||||||
# s390 where we expect .o and .oS files
|
# s390 where we expect .o and .oS files
|
||||||
echo "$line" | grep -E "ABS ((.*/)?[-_a-zA-Z0-9]+\.(c|cc|cpp|cxx|o|oS))?$"
|
echo "$line" | grep -E "ABS ((.*/)?[-_a-zA-Z0-9]+\.(c|cc|cpp|cxx|o|S|oS))?$"
|
||||||
done
|
done
|
||||||
IFS="$old_IFS"
|
IFS="$old_IFS"
|
||||||
|
|
||||||
@ -1862,7 +1862,7 @@ function debugcheckjdk() {
|
|||||||
# debuginfo file. There shouldn't be any debuginfo files, so the link makes
|
# debuginfo file. There shouldn't be any debuginfo files, so the link makes
|
||||||
# no sense either
|
# no sense either
|
||||||
eu-readelf -S "$lib" | grep 'gnu'
|
eu-readelf -S "$lib" | grep 'gnu'
|
||||||
if eu-readelf -S "$lib" | grep '] .gnu_debuglink' | grep PROGBITS; then
|
if eu-readelf -S "$lib" | grep "\] .gnu_debuglink" | grep PROGBITS; then
|
||||||
echo "bad .gnu_debuglink section."
|
echo "bad .gnu_debuglink section."
|
||||||
eu-readelf -x .gnu_debuglink "$lib"
|
eu-readelf -x .gnu_debuglink "$lib"
|
||||||
false
|
false
|
||||||
|
Loading…
Reference in New Issue
Block a user