[llvm] r251181 - ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 24 16:10:49 PDT 2015


See;
http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/7674

I haven't investigated causes yet. I guess it'd be a bug.

On Sun, Oct 25, 2015 at 1:15 AM David Blaikie <dblaikie at gmail.com> wrote:

> On Fri, Oct 23, 2015 at 11:42 PM, NAKAMURA Takumi via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> Author: chapuni
>> Date: Sat Oct 24 01:42:42 2015
>> New Revision: 251181
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=251181&view=rev
>> Log:
>> ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in
>> modules build.
>>
>
> Um... - where's this clashing with? Is there an anonymous namespace with a
> SROA thing in a header somewhere? That really shouldn't be there. What else
> would this be colliding with in a modules build?
>
>
>>
>> Modified:
>>     llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
>>
>> Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
>> URL:
>> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=251181&r1=251180&r2=251181&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
>> +++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Sat Oct 24
>> 01:42:42 2015
>> @@ -60,6 +60,7 @@ STATISTIC(NumAdjusted,  "Number of scala
>>  STATISTIC(NumConverted, "Number of aggregates converted to scalar");
>>
>>  namespace {
>> +#define SROA SROA_
>>    struct SROA : public FunctionPass {
>>      SROA(int T, bool hasDT, char &ID, int ST, int AT, int SLT)
>>        : FunctionPass(ID), HasDomTree(hasDT) {
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151024/201d7456/attachment.html>


More information about the llvm-commits mailing list