Skip to content
  1. Nov 08, 2019
  2. Nov 07, 2019
    • Fred Riss's avatar
      Modernize TestWeakSymbols Makefile · cbdd92be
      Fred Riss authored
      cbdd92be
    • Reid Kleckner's avatar
      [SEH] Defer checking filter expression types until instantiaton · 7177ce97
      Reid Kleckner authored
      While here, wordsmith the error a bit. Now clang says:
        error: filter expression has non-integral type 'Foo'
      
      Fixes PR43779
      
      Reviewers: amccarth
      
      Differential Revision: https://reviews.llvm.org/D69969
      7177ce97
    • Sterling Augustine's avatar
      Correctly update isSignalFrame when unwinding the stack via dwarf. · d3c74431
      Sterling Augustine authored
      A "signal frame" is a function or block of code where execution arrives via a signal or interrupt, rather than via a normal call instruction. In fact, a particular instruction is interrupted by the signal and needs to be restarted. Therefore, when the signal handler is complete, execution needs to return to the interrupted instruction, rather than the instruction immediately following the call instruction, as in a normal call.
      
      Stack unwinders need to know this to correctly unwind signal frames. Dwarf handily provides an "S" in the CIE augmentation string to describe this case, and the libunwind API provides various functions to for unwinders to determine it,.
      
      The llvm libunwind implementation correctly sets it's internal variable "isSignalFrame" when initializing an unwind context. However, upon stepping up the stack, the current implementation correctly reads the augmentation string and sets it in the CIE info (which it then discards), libunwind doesn't update it's internal unwind context data structure.
      
      This change fixes that, and provides compatibility with both the canonical libunwind and the libgcc implementation.
      
      Reviewers: jfb
      
      Subscribers: christof, libcxx-commits
      
      Tags: #libc
      
      Differential Revision: https://reviews.llvm.org/D69677
      d3c74431
    • LLVM GN Syncbot's avatar
      gn build: Merge 25ee8613 · b4237db2
      LLVM GN Syncbot authored
      b4237db2
    • Daniel Sanders's avatar
      [debugify] Move the Debugify pass from tools/opt to lib/Transform/Utils · 25ee8613
      Daniel Sanders authored
      Summary:
      I need to make use of this pass from a driver program that isn't opt.
      Therefore this patch moves this pass into the LLVM library so that it is
      available for use elsewhere.
      
      There was one function I kept in tools/opt which is exportDebugifyStats()
      this is because it's serializing the statistics into a human readable
      format and this seemed more in keeping with opt than a library function
      
      Reviewers: vsk, aprantl
      
      Subscribers: mgorny, hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D69926
      25ee8613
Loading