[PATCH] D96184: [AIX][TLS] Generate TLS variables in assembly files
    David Tenty via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 22 15:49:47 PST 2021
    
    
  
daltenty added inline comments.
================
Comment at: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp:2248
 
+  if (Kind.isThreadLocal()) {
+    // If data sections are enabled, we emit thread data into separate sections.
----------------
We should have another case for `Kind.isThreadBSS`, where we should probably use either a csect with XMC_UL or `TLSBSSSection` depending on `TM.getDataSections()`
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96184/new/
https://reviews.llvm.org/D96184
    
    
More information about the llvm-commits
mailing list