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@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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D73418: [WPD... Alexander Yermolovich via Phabricator via cfe-commits
    • [PATCH] D73418:... Teresa Johnson via Phabricator via cfe-commits

Reply via email to