[PATCH] D19001: [ppc64] Disable sibling-call-optimization when building tsan library by clang

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 21:19:13 PDT 2016


hfinkel added a comment.

I'd prefer that we not fix the problem this way. You mention in the bug report that we could increase the scan distance:

  uptr BufferedStackTrace::LocatePcInTrace(uptr pc) {
  #ifdef __powerpc__
    const int kPcThreshold = 800;
  #else
    const int kPcThreshold = 320;
  #endif

why not do that?


http://reviews.llvm.org/D19001





More information about the llvm-commits mailing list