Skip to content
  1. Nov 01, 2017
    • Mitch Phillips's avatar
      Parse DWARF information to reduce false positives. · 7db6f7a3
      Mitch Phillips authored
      Summary: Help differentiate code and data by parsing DWARF information. This will reduce false positive rates where data is placed in executable sections and is mistakenly parsed as code, resulting in an inflation in the number of indirect CF instructions (and hence an inflation of the number of unprotected).
      
      Also prints the DWARF line data around the region of each indirect CF instruction.
      
      Reviewers: pcc
      
      Subscribers: probinson, llvm-commits, vlad.tsyrklevich, mgorny, aprantl, kcc
      
      Differential Revision: https://reviews.llvm.org/D38654
      
      llvm-svn: 317050
      7db6f7a3
    • Daniel Sanders's avatar
      Re-commit: [globalisel][tablegen] Keep track of the insertion point while... · 7438b263
      Daniel Sanders authored
      Re-commit: [globalisel][tablegen] Keep track of the insertion point while adding BuildMIAction's. NFC
      
      Multi-instruction emission needs to ensure the the instructions are generated
      a depth-first fashion. For example:
      (ADDWrr (SUBWrr a, b), c)
      needs to emit the SUBWrr before the ADDWrr. However, our walk over
      TreePatternNode's is highly context sensitive which makes it difficult to append
      BuildMIActions in the order we want. To fix this, we now keep track of the
      insertion point as we add actions. This will allow multi-insn emission to insert
      BuildMI's in the correct place.
      
      The previous commit failed on the Ubuntu bots using GCC 4.8. These bots lack the
      const_iterator forms of insert() and emplace() that were added in C++11. As a
      result I've switched the const_iterators to iterators.
      
      llvm-svn: 317049
      7438b263
  2. Oct 31, 2017
Loading