[llvm-branch-commits] [compiler-rt-branch] r311583 - Merging r311495:

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 23 11:07:44 PDT 2017


Author: hans
Date: Wed Aug 23 11:07:44 2017
New Revision: 311583

URL: http://llvm.org/viewvc/llvm-project?rev=311583&view=rev
Log:
Merging r311495:
------------------------------------------------------------------------
r311495 | hans | 2017-08-22 14:54:37 -0700 (Tue, 22 Aug 2017) | 6 lines

[esan] Use stack_t instead of struct sigaltstack (PR34011)

The struct tag is going away in soon-to-be-released glibc 2.26 and the
stack_t typedef seems to have been there forever.

Patch by Bernhard Rosenkraenzer!
------------------------------------------------------------------------

Modified:
    compiler-rt/branches/release_50/   (props changed)
    compiler-rt/branches/release_50/lib/esan/esan_sideline_linux.cpp

Propchange: compiler-rt/branches/release_50/
------------------------------------------------------------------------------
    svn:mergeinfo = /compiler-rt/trunk:311495

Modified: compiler-rt/branches/release_50/lib/esan/esan_sideline_linux.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_50/lib/esan/esan_sideline_linux.cpp?rev=311583&r1=311582&r2=311583&view=diff
==============================================================================
--- compiler-rt/branches/release_50/lib/esan/esan_sideline_linux.cpp (original)
+++ compiler-rt/branches/release_50/lib/esan/esan_sideline_linux.cpp Wed Aug 23 11:07:44 2017
@@ -70,7 +70,7 @@ int SidelineThread::runSideline(void *Ar
 
   // Set up a signal handler on an alternate stack for safety.
   InternalScopedBuffer<char> StackMap(SigAltStackSize);
-  struct sigaltstack SigAltStack;
+  stack_t SigAltStack;
   SigAltStack.ss_sp = StackMap.data();
   SigAltStack.ss_size = SigAltStackSize;
   SigAltStack.ss_flags = 0;




More information about the llvm-branch-commits mailing list