[PATCH] D119829: [Driver] Support Solaris/amd64 GetTls

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 17 11:26:57 PST 2022


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/test/Driver/solaris-ld-sanitizer.c:1
+// General tests that the ld -z relax=transtls workaround is only applied
+// on Solaris/amd64. Note that we use sysroot to make these tests
----------------
Optional: some folks prefer an alternative comment marker (`///` for C, `##` for assembly, etc) for non-RUN non-CHECK comments. It makes the comments stand out (they may render differently in an editor). Many tests have check-prefix typos and if we teach lit or FileCheck to catch such typos, we can let them skip `///` lines to avoid false positives.


================
Comment at: clang/test/Driver/solaris-ld-sanitizer.c:6
+// Check sparc-sun-solaris2.11, 32bit
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN:     --target=sparc-sun-solaris2.11 \
----------------
Remove -no-canonical-prefixes . See some cleanup advice on D119309.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119829



More information about the cfe-commits mailing list