Skip to content
  1. Jan 15, 2016
    • NAKAMURA Takumi's avatar
    • Keno Fischer's avatar
      Once again revert debug info verifier changes · 253a7bd4
      Keno Fischer authored
      Yet another wave of buildbot failures (though fewer this time).
      I'm only reverting the Verifier changes, as the test cases
      will be fine without them as well, and touching them as often
      just introduces unnecessary churn.
      
      llvm-svn: 257855
      253a7bd4
    • Keno Fischer's avatar
      Reapply r257105 "[Verifier] Check that debug values have proper size" · 81e2e9ef
      Keno Fischer authored
      I originally reapplied this in 257550, but had to revert again due to bot
      breakage. The only change in this version is to allow either the TypeSize
      or the TypeAllocSize of the variable to be the one represented in debug info
      (hopefully in the future we can figure out how to encode the difference).
      Additionally, several bot failures following r257550, were due to
      optimizer bugs now fixed in r257787 and r257795.
      
      r257550 commit message was:
      
      ```
      The follow extra changes were made to test cases:
      
      Manually making the variable be the actual type instead of a pointer
      to avoid pointer-size differences in generic code:
      
          LLVM :: DebugInfo/Generic/2010-03-24-MemberFn.ll
          LLVM :: DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll
          LLVM :: DebugInfo/Generic/2010-05-03-DisableFramePtr.ll
          LLVM :: DebugInfo/Generic/varargs.ll
      
      Delete sizing information from debug info for the same reason
      (but the presence of the pointer was important to the test case):
      
          LLVM :: DebugInfo/Generic/restrict.ll
          LLVM :: DebugInfo/Generic/tu-composite.ll
          LLVM :: Linker/type-unique-type-array-a.ll
          LLVM :: Linker/type-unique-simple2.ll
      
      Fixing an incorrect DW_OP_deref
      
          LLVM :: DebugInfo/Generic/2010-05-03-OriginDIE.ll
      
      Fixing a missing DW_OP_deref
      
          LLVM :: DebugInfo/Generic/incorrect-variable-debugloc.ll
      
      Additionally, clang should no longer complain during bootstrap should no
      longer happen after r257534.
      
      The original commit message was:
      ``
      Summary:
      Teach the Verifier to make sure that the storage size given to llvm.dbg.declare
      or the value size given to llvm.dbg.value agree with what is declared in
      DebugInfo. This is implicitly assumed in a number of passes (e.g. in SROA).
      Additionally this catches a number of common mistakes, such as passing a
      pointer when a value was intended or vice versa.
      
      One complication comes from stack coloring which modifies the original IR when
      it merges allocas in order to make sure that if AA falls back to the IR it gets
      the correct result. However, given this new invariant, indiscriminately
      replacing one alloca by a different (differently sized one) is no longer valid.
      Fix this by just undefing out any use of the alloca in a dbg.declare in this
      case.
      
      Additionally, I had to fix a number of test cases. Of particular note:
      - I regenerated dbg-changes-codegen-branch-folding.ll from the given source as
        it was affected by the bug fixed in r256077
      - two-cus-from-same-file.ll was changed to avoid having a variable-typed debug
        variable as that would depend on the target, even though this test is
        supposed to be generic
      - I had to manually declared size/align for reference type. See also the
        discussion for D14275/r253186.
      - fpstack-debuginstr-kill.ll required changing `double` to `long double`
      - most others were just a question of adding OP_deref
      ``
      
      ```
      
      llvm-svn: 257850
      81e2e9ef
    • Amaury Sechet's avatar
      LLVMRunStaticConstructors can be called before object is finalized, #24028 · 74f4ce61
      Amaury Sechet authored
      Summary: Since you cannot call finalizeObject manually through the C-API and other functions from the C-API automatically call it, LLVMRunStaticConstructors should also call it or otherwise you cannot call it without first calling a workaround function (or call any other function from the C-API which implicitly finalizes the object).
      
      Reviewers: dnovillo, spatel, bkramer, deadalnix, joker.eph, echristo, lhames
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D16188
      
      llvm-svn: 257849
      74f4ce61
    • Kostya Serebryany's avatar
      [libFuzzer] use custom stol; also introduce __libfuzzer_is_present so that... · 4282d305
      Kostya Serebryany authored
      [libFuzzer] use custom stol; also introduce __libfuzzer_is_present so that users can check for its presence.
      
      llvm-svn: 257848
      4282d305
    • Philip Reames's avatar
      [docs] Restructure description of records created by Statepoints · 35bafeea
      Philip Reames authored
      The previous text was hard to understand even for me and I wrote it.  Hopefully the new structure makes it a bit more clear what's going on.  If anyone has word smithing suggestion or clarification questions, please let me know.
      
      llvm-svn: 257847
      35bafeea
    • Reid Kleckner's avatar
      [codeview] Translate file table offsets to filenames and print them · 8e7275cc
      Reid Kleckner authored
      llvm-svn: 257846
      8e7275cc
    • Sanjay Patel's avatar
      rangify; NFCI · 960e5349
      Sanjay Patel authored
      llvm-svn: 257845
      960e5349
    • Weiming Zhao's avatar
      Fix AArch64ConditionOptimizer · 038393bb
      Weiming Zhao authored
      Summary:
      This pass may modify the Cmp operands. However, the flag reg may be used by both the branch and CSEL.
      Modifying CMP will have side effect on CSEL.
      
      Reviewers: t.p.northover
      
      Subscribers: llvm-commits, aemerson, rengolin
      
      Differential Revision: http://reviews.llvm.org/D16147
      
      llvm-svn: 257844
      038393bb
    • Philip Reames's avatar
      [docs] Update Statepoint docs to clarify format for recent changes · 95e363d0
      Philip Reames authored
      llvm-svn: 257843
      95e363d0
    • David Blaikie's avatar
      Orc: Simplify some things with NSDMIs and some braced init. · edbe5685
      David Blaikie authored
      llvm-svn: 257840
      edbe5685
    • Sanjay Patel's avatar
      784b5e3f
    • Easwaran Raman's avatar
      Refactor threshold computation for inline cost analysis · f4bb2f0d
      Easwaran Raman authored
      Differential Revision: http://reviews.llvm.org/D15401
      
      llvm-svn: 257832
      f4bb2f0d
  2. Jan 14, 2016
Loading