[compiler-rt] r274873 - Add runtime support for __cpu_model (__builtin_cpu_supports)

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 14:54:49 PDT 2016


On Fri, Jul 8, 2016 at 12:24 PM Joerg Sonnenberger via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Fri, Jul 08, 2016 at 04:28:54PM -0000, Alina Sbirlea via llvm-commits
> wrote:
> > +unsigned getAvailableFeatures(unsigned int ECX, unsigned int EDX,
> > +                              unsigned MaxLeaf) {
>
> That's application namespace pollution, isn't it?
>
>
Yep. Needs to be static.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/7693ee74/attachment.html>


More information about the llvm-commits mailing list