[PATCH] D80011: [AIX][XCOFF] implement available externally linkage .

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 08:06:26 PDT 2020


DiggerLin created this revision.
DiggerLin added reviewers: hubert.reinterpretcast, jasonliu, sfertile.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
DiggerLin edited the summary of this revision.
Herald added a subscriber: wuzish.
DiggerLin retitled this revision from "[AIX][XCOFF] implement a available externally linkage ." to "[AIX][XCOFF] implement available externally linkage .".

the source code for the test case as

  template <int dim >
  class DoFHandler
   {
  public:
     int a[dim];
  public:
     static const int invalid_dof_index = -1;
   };
  
  int foo(const int &b) {
      return b+1;
  }
  float bar() {
    DoFHandler<5> dof;
    dof.a[0]=1;
    return foo(dof.invalid_dof_index) + dof.a[0];
  }


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80011

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-available-extern.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80011.264244.patch
Type: text/x-patch
Size: 7010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/2673c21e/attachment-0001.bin>


More information about the llvm-commits mailing list