1
1

updating nmcheck_prefix.pl to accept some more compiler-generated names

Someone posted an MTT test where libmpi_usempi_ignore_tkr.so ended
up with symbols like these being identifed as errors:
    [error]   MPI
    [error]   _Cmpi_fortran_status_ignore
    [error]   _Cmpi_fortran_statuses_ignore
those must be compiler-generated names so we shouldn't identify them
as problematic.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
Этот коммит содержится в:
Mark Allen 2017-08-15 15:36:12 -04:00
родитель 0414c0c9d7
Коммит 245006a23d

Просмотреть файл

@ -111,6 +111,15 @@ sub check_lib_for_bad_exports {
@symbols = grep(!/^NBC_/i, @symbols);
@symbols = grep(!/^mca_/, @symbols);
# in libmpi_usempi_ignore_tkr.so someone posted an MTT test where
# the compiler produced symbols like
# [error] MPI
# [error] _Cmpi_fortran_status_ignore
# [error] _Cmpi_fortran_statuses_ignore
# which we shouldn't identify as bad:
@symbols = grep(!/^MPI$/, @symbols);
@symbols = grep(!/^_Cmpi_$/, @symbols);
@symbols = grep(!/^_fini$/, @symbols);
@symbols = grep(!/^_init$/, @symbols);
@symbols = grep(!/^_edata$/, @symbols);