[PATCH] D119147: [AIX][clang][driver] Check the command string to the linker for exportlist opts
    David Tenty via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Aug 25 14:24:50 PDT 2022
    
    
  
daltenty added a comment.
Suggest adding the following text to `clang/docs/ReleaseNotes.rst` under the AIX section with this change:
  * When using `-shared`, the clang driver now invokes llvm-nm to create an export list if the user doesn't specify one via linker flag or pass an alternative export control option.
================
Comment at: clang/test/Driver/aix-ld.c:695-696
 // CHECK-LD64-SHARED:     "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
 // CHECK-LD64-SHARED:     "-isysroot" "[[SYSROOT:[^"]+]]"
+/ /CHECK-LD64-SHARED:     "{{.*}}llvm-nm"
+// CHECK-LD64-SHARED:     "--export-symbols"
----------------
The comment line is strange here, probably a typo:
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119147/new/
https://reviews.llvm.org/D119147
    
    
More information about the cfe-commits
mailing list