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
Paths
| Differential D128482
[clang codegen] Add dso_local/hidden/etc. markings to VTT declarations ClosedPublic Authored by efriedma on Jun 23 2022, 5:34 PM.
Details Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 23 2022, 5:38 PM Comment Actions LGTM! Just to double check I tested this exact patch locally with the setup that found the problem. I confirmed it resolved that issue. This revision was landed with ongoing or failed builds.Jun 24 2022, 9:59 AM Closed by commit rGe11bf8de729a: [clang codegen] Add dso_local/hidden/etc. markings to VTT declarations (authored by efriedma). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 439807 clang/lib/CodeGen/CGVTT.cpp
clang/test/CodeGenCXX/visibility.cpp
|