[PATCH] D75849: [compiler-rt] Allow golang race detector to run on musl-c

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 18:58:17 PDT 2020


dyung added inline comments.


================
Comment at: compiler-rt/lib/tsan/go/buildgo.sh:172
+# Verify that no glibc specific code is present
+if nm race_$SUFFIX.syso | grep -q __libc_; then
+	printf -- '%s seems to link to libc\n' "race_$SUFFIX.syso"
----------------
I believe this should be $DIR/race_$SUFFIX.syso otherwise it won't find the file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75849/new/

https://reviews.llvm.org/D75849





More information about the llvm-commits mailing list