[LPM] Try again to appease powerpc64 in its self host. I've been unable
authorChandler Carruth <chandlerc@gmail.com>
Thu, 29 Jan 2015 02:34:17 +0000 (02:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 29 Jan 2015 02:34:17 +0000 (02:34 +0000)
commitf064279b22bb44c947ad9c3707aa261f6d1e09d2
treeb949d3a3747c07c83b6f13967f263698d88220d3
parent6c9f92e5da366da2be9f284e9482bbce6d54c9b3
[LPM] Try again to appease powerpc64 in its self host. I've been unable
to get a powerpc64 host so that I can reproduce and test this, but it
only impacts that platform so trying the only other realistic option.

According to Ulrich, who debugged this initially, initial-exec is likely
to be sufficient for our needs and not subject to this bug. Will watch
the build bots to see.

If this doesn't work, I'll be forced to cut a really ugly pthread-based
approach into the primary user (our stack trace printing) as that user
cannot use the ThreadLocal implementation due to lifetime issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227414 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h