Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a Mac Tinderbox debug build). r=rail.
authorRafael Ávila de Espíndola <respindola@mozilla.org>
Tue, 18 Sep 2012 16:58:03 -0400
changeset 107534 20f683bc1ce7f8826c2ba355625db3eeeffc257e
parent 107533 58003f3c3fb535b35472fe968101f260889e5295
child 107535 35b2c35d3243b3fc5af6b8f5b6d658869423ac96
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersrail
bugs787302
milestone18.0a1
Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a Mac Tinderbox debug build). r=rail. Also apply the patch on OS X.
build/unix/build-clang/build-clang.py
--- a/build/unix/build-clang/build-clang.py
+++ b/build/unix/build-clang/build-clang.py
@@ -123,19 +123,19 @@ if not os.path.exists(source_dir):
     svn_co("http://llvm.org/svn/llvm-project/llvm/trunk",
            llvm_source_dir, llvm_revision)
     svn_co("http://llvm.org/svn/llvm-project/cfe/trunk",
            clang_source_dir, llvm_revision)
     svn_co("http://llvm.org/svn/llvm-project/compiler-rt/trunk",
            compiler_rt_source_dir, llvm_revision)
     os.symlink("../../clang", llvm_source_dir + "/tools/clang")
     os.symlink("../../compiler-rt", llvm_source_dir + "/projects/compiler-rt")
+    patch("llvm-debug-frame.patch", 1, llvm_source_dir)
     if not isDarwin:
         patch("old-ld-hack.patch", 1, llvm_source_dir)
-        patch("llvm-debug-frame.patch", 1, llvm_source_dir)
         patch("compiler-rt-gnu89-inline.patch", 0, compiler_rt_source_dir)
         patch("no-sse-on-linux.patch", 1, clang_source_dir)
 
 if os.path.exists(build_dir):
     shutil.rmtree(build_dir)
 os.makedirs(build_dir)
 
 stage1_dir = build_dir + '/stage1'