[PATCH] D85994: [LLD][PowerPC] Add check in LLD to produce an error for missing TLSGD/TLSLD

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 12:08:19 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/ppc64-error-missing-tlsgdld.s:2
+# REQUIRES ppc
+# RUN: llvm-mc %s --filetype=obj -o %t.o
+# RUN: not ld.lld --shared %t.o -o /dev/null 2>&1 | FileCheck %s
----------------
The assembly file looks better. Consider naming the test so that it shares a longer prefix with related tests (ppc64-tls-*.s): ppc64-tls-missing-gdld.s


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

https://reviews.llvm.org/D85994



More information about the llvm-commits mailing list