[all-commits] [llvm/llvm-project] e11bf8: [clang codegen] Add dso_local/hidden/etc. markings...

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Jun 24 09:59:14 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e11bf8de729a4d6eb0d3b5cf154f900cddc522d3
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M clang/lib/CodeGen/CGVTT.cpp
    M clang/test/CodeGenCXX/visibility.cpp

  Log Message:
  [clang codegen] Add dso_local/hidden/etc. markings to VTT declarations

We were marking definitions, but not declarations. Marking declarations
makes computing the address more efficient.

Fixes issue reported at https://discourse.llvm.org/t/63090

Differential Revision: https://reviews.llvm.org/D128482

More information about the All-commits mailing list