[all-commits] [llvm/llvm-project] 08190e: [CIR] Fix dso_local and comdat handling for global...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Mon Jun 2 13:46:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08190e55ab13f8f5582b9be3c0f4d5a3ff8f9984
      https://github.com/llvm/llvm-project/commit/08190e55ab13f8f5582b9be3c0f4d5a3ff8f9984
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    A clang/test/CIR/CodeGen/dso-local.c
    M clang/test/CIR/CodeGen/namespace.cpp
    M clang/test/CIR/CodeGen/string-literals.c
    M clang/test/CIR/global-var-linkage.cpp

  Log Message:
  -----------
  [CIR] Fix dso_local and comdat handling for global vars (#142214)

This change adds extra processing of global variable definitions to
correctly set the dso_local and comdat attributes.



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