[llvm-dev] Question about visibility analysis for whole program devirtualization pass
Gainullin, Artur via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 5 06:41:15 PST 2017
Hi!
Will appreciate any comments regarding this question.
Best regards,
Artur Gainullin
From: Gainullin, Artur
Sent: Thursday, November 30, 2017 10:56 AM
To: peter at pcc.me.uk
Cc: llvm-dev at lists.llvm.org
Subject: Question about visibility analysis for whole program devirtualization pass
Hi!
I have a question about whole program devirtualization pass. According to my understanding devirtualization is performed only for the classes that have hidden LTO visibility and this visibility is controlled by attributes in the source level or command line options. So visibility analysis is currently performed only in the front-end. But LLVM has LTO internalization pass that uses information from the linker to mark symbols as internal if it is possible. Have you ever considered to make an analysis of visibility at this level (after internalization pass)? Or it is not possible for some reasons?
Best regards,
Artur Gainullin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171205/9aed7ad2/attachment.html>
More information about the llvm-dev
mailing list