[llvm-dev] Function attribute to indicate external/public

Kenneth Adam Miller via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 24 00:16:58 PDT 2018


I imagine there is a llvm pass that you could write that runs at image
analysis time that looks at all of the functions in the context and checks
their attributes, and gives you some processed subset as you require.

On Tue, Apr 24, 2018 at 3:13 AM, Bill Wendling via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> You will want to look at the linkage and/or visibility attributes.
>
> On Mon, Apr 23, 2018 at 6:23 PM Sumonto Ghosh via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi
>> How do I know from a foo.ll (from foo.bc) which function has attribute
>> "Public" or "External"
>>
>> Thanks
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180424/627dfce9/attachment.html>


More information about the llvm-dev mailing list