[PATCH] D73418: [WPD] Emit vcall_visibility metadata for MicrosoftCXXABI

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 17 19:08:57 PST 2020


tejohnson added a comment.

In D73418#2461943 <https://reviews.llvm.org/D73418#2461943>, @ayermolo wrote:

> @tejohnson I was wondering where does this @anon.{{.*}} gets set, or in general where can I find more information about it.
>
> When I step through the code in emitVTableTypeMetadata, it's still.
>
> @0 = private unnamed_addr constant { [2 x i8*] } { [2 x i8*] [i8* bitcast (%rtti.CompleteObjectLocator* @"??_R4A@?A0x3E47408C@@6B@" to i8*), i8* bitcast (i32 (%"struct.(anonymous namespace)::A"*)* @"?f at A@?A0x3E47408C@@UEAAHXZ" to i8*)] }, comdat($"??_7A@?A0x3E47408C@@6B@")
>
> Thanks

It would be later, in LLVM, see nameUnamedGlobals in llvm/lib/Transforms/Utils/NameAnonGlobals.cpp. It is called towards the end the compile when generating bitcode for LTO, as we need everything named in order to generate summary information.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73418/new/

https://reviews.llvm.org/D73418



More information about the cfe-commits mailing list