Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2019 18:20:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236062] [exp-run] Against projects/clang800-import branch
Message-ID:  <bug-236062-7788-2qyQ77Qvwh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236062-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236062-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236062

--- Comment #14 from commit-hook@freebsd.org ---
A commit references this bug:

Author: dim
Date: Tue Mar 12 18:19:45 UTC 2019
New revision: 345073
URL: https://svnweb.freebsd.org/changeset/base/345073

Log:
  Revert r308867 (which was originally committed in the clang390-import
  project branch):

    Work around LLVM PR30879, which is about a bad interaction between
    X86 Call Frame Optimization on i386 and libunwind, by disallowing the
    optimization for i386-freebsd12.

    This should fix some instances of broken exception handling when
    frame pointers are omitted, in particular some unittests run during
    the build of editors/libreoffice.

    This hack will be removed as soon as upstream has implemented a more
    permanent fix for this problem.

  And indeed, after r345018 and r345019, which updated LLVM libunwind to
  the most recent version, the above workaround is no longer needed.  The
  upstream commit which fixed this is:

    https://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D292723

  Specifically, 32 bit (i386-freebsd) executables optimized with omitted
  frame pointers and Call Frame Optimization should now behave correctly
  when a C++ exception is thrown, and the stack is unwound.

  Upstream PR:  https://llvm.org/bugs/show_bug.cgi?id=3D30879
  PR:           236062
  MFC after:    1 month
  X-MFC-With:   r344779

Changes:
_U  head/
_U  head/contrib/llvm/
  head/contrib/llvm/lib/Target/X86/X86CallFrameOptimization.cpp

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236062-7788-2qyQ77Qvwh>