[all-commits] [llvm/llvm-project] c4727d: [Clang][AIX] Add -mloadtime-comment-vars support t...

Tony Varghese via All-commits all-commits at lists.llvm.org
Thu Jul 16 09:26:35 PDT 2026


  Branch: refs/heads/users/tonykuttai/pragma-comment-copyright-cli
  Home:   https://github.com/llvm/llvm-project
  Commit: c4727d44fd6f3c2ef37c1afd2e08005ab9b4b13b
      https://github.com/llvm/llvm-project/commit/c4727d44fd6f3c2ef37c1afd2e08005ab9b4b13b
  Author: Tony Varghese <tony.varghese at ibm.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.md
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Options/Options.td
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/CodeGen/PowerPC/loadtime-comment-mixed.c
    A clang/test/CodeGen/loadtime-comment-vars.c
    A clang/test/Driver/mloadtime-comment-vars.c
    M llvm/test/Transforms/LowerCommentString/lower-comment-string.ll

  Log Message:
  -----------
  [Clang][AIX] Add -mloadtime-comment-vars support to preserve variables in the final object file.


  Commit: 920e3d7f8154f5753caeb148ea1da080ddb9ebd8
      https://github.com/llvm/llvm-project/commit/920e3d7f8154f5753caeb148ea1da080ddb9ebd8
  Author: Tony Varghese <tony.varghese at ibm.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.md
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/loadtime-comment-vars-cxx.cpp
    M clang/test/CodeGen/loadtime-comment-vars.c
    M clang/test/Driver/mloadtime-comment-vars.c

  Log Message:
  -----------
  [Clang][AIX] Handle -mloadtime-comment-vars in global var emission


  Commit: 06384fcfeb14038f6518ca3551dec295d79a8b3a
      https://github.com/llvm/llvm-project/commit/06384fcfeb14038f6518ca3551dec295d79a8b3a
  Author: Tony Varghese <tony.varghese at ibm.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.md
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGen/loadtime-comment-vars-cxx.cpp
    M clang/test/Driver/mloadtime-comment-vars.c

  Log Message:
  -----------
  [Clang][AIX] Switch -mloadtime-comment-vars name matching to mangled IR names

Replace source-qualified name matching in matchesLoadTimeCommentVarName with
mangled IR symbol name matching via getMangledName(GlobalDecl(VD)).


  Commit: f629cdd4f7acd09728760d105679d2a4bc696343
      https://github.com/llvm/llvm-project/commit/f629cdd4f7acd09728760d105679d2a4bc696343
  Author: Tony Varghese <tonypalampalliyil at gmail.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.md

  Log Message:
  -----------
  Apply suggestions from code review

Co-authored-by: Hubert Tong <hubert.reinterpretcast at gmail.com>


  Commit: e83fa0eee4cbb31a447d715d41695970d092e4ba
      https://github.com/llvm/llvm-project/commit/e83fa0eee4cbb31a447d715d41695970d092e4ba
  Author: Tony Varghese <tony.varghese at ibm.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.md
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticIDs.h
    M clang/include/clang/Options/Options.td
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/PowerPC/loadtime-comment-vars-cxx.cpp
    A clang/test/CodeGen/PowerPC/loadtime-comment-vars.c
    R clang/test/CodeGen/loadtime-comment-vars-cxx.cpp
    R clang/test/CodeGen/loadtime-comment-vars.c

  Log Message:
  -----------
  [Clang][AIX] Diagnose unsupported -mloadtime-comment-vars variables


Compare: https://github.com/llvm/llvm-project/compare/b79a874748ca...e83fa0eee4cb

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list