Unverified Commit 69593328 authored by Lei Huang's avatar Lei Huang Committed by GitHub
Browse files

[DIAG][msan] fix libc check string for dladdr1 call (#69359)

The check for dladdr1 for shared libc is too strict. Depending on how the system is setup we sometimes pick up the none generic lib name with the version string in it.

Update check to for libc to account for version string.
parent 40a426fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
      fflush(stdout);
      map_ptr = map_ptr->l_next;
    }
    // CHECK: libc.so
    // CHECK: libc{{[\-]*.*}}.so
    // CHECK: dladdr1_test
  }