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
    • Davide Italiano's avatar
      [ELF/AArch64] Add support for R_AARCH64_LDST16_ABS_LO12_NC relocation. · 2dfc5fd1
      Davide Italiano authored
      Found while trying to self-host the toolchain that libLTO needs it.
      
      llvm-svn: 257854
      2dfc5fd1
    • Richard Trieu's avatar
      Make template type diffing use the new desguared iterator. · 2c22a86f
      Richard Trieu authored
      If available, use the canonical template argument to fill in information for
      template type diffing instead of attempting to special case and evaluate Expr's
      for the value.  Since those are the values used in template instantiation,
      we don't have to worry about difference between our evaluator and theirs.  Also
      move the nullptr template arguments from DiffKind::Expression to
      DiffKind::Declaration and allow DiffKind::Declaration to set an Expr.  The only
      effect that should result is that a named nullptr will show up as
      'ptr aka nullptr' in diagnostics.
      
      llvm-svn: 257853
      2c22a86f
    • Jim Ingham's avatar
      The ASAN report fetching code had two latent bugs: · cc4609a2
      Jim Ingham authored
      1) It was forward declaring functions without 'extern "C"'.  That used to work
         but only because of another bug in how we passes symbol only function names to the
         compiler and stopped working recently.
      2) These forward declarations were in the body of the User Expression, and they actually
         need to go in the prefix file.
      
      <rdar://problem/24177689>
      
      llvm-svn: 257852
      cc4609a2
    • Michael Kruse's avatar
      Prepare unit tests for update to ISL 0.16 · 5a9a65e4
      Michael Kruse authored
      ISL 0.16 will change how sets are printed which breaks 117 unit tests
      that text-compare printed sets. This patch re-formats most of these unit
      tests using a script and small manual editing on top of that. When
      actually updating ISL, most work is done by just re-running the script
      to adapt to the changed output.
      
      Some tests that compare IR and tests with single CHECK-lines that can be
      easily updated manually are not included here.
      
      The re-format script will also be committed afterwards. The per-test
      formatter invocation command lines options will not be added in the near
      future because it is ad hoc and would overwrite the manual edits.
      Ideally it also shouldn't be required anymore because ISL's set printing
      has become more stable in 0.16.
      
      Differential Revision: http://reviews.llvm.org/D16095
      
      llvm-svn: 257851
      5a9a65e4
    • 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
    • Pete Cooper's avatar
      Don't use explicit paths in my own test check lines · 00de8b5a
      Pete Cooper authored
      llvm-svn: 257842
      00de8b5a
    • Pete Cooper's avatar
      Error check the size of the __objc_imageinfo section · d7b5c5bc
      Pete Cooper authored
      llvm-svn: 257841
      d7b5c5bc
    • David Blaikie's avatar
      Orc: Simplify some things with NSDMIs and some braced init. · edbe5685
      David Blaikie authored
      llvm-svn: 257840
      edbe5685
    • Justin Lebar's avatar
      [CUDA] Warn undeclared identifiers in CUDA kernel calls · f8bdacba
      Justin Lebar authored
      Value, type, and instantiation dependence were not being handled
      correctly for CUDAKernelCallExpr AST nodes. As a result, if an
      undeclared identifier was used in the triple-angle-bracket kernel call
      configuration, there would be no error during parsing, and there would
      be a crash during code gen. This patch makes sure that an error will be
      issued during parsing in this case, just as there would be for any other
      use of an undeclared identifier in C++.
      
      Patch by Jason Henline.
      
      Reviewers: jlebar, rsmith
      
      Differential Revision: http://reviews.llvm.org/D15858
      
      llvm-svn: 257839
      f8bdacba
    • Richard Trieu's avatar
      Change the TSTiterator in Template Type Diffing. · ac1e2f8f
      Richard Trieu authored
      Modify the TSTiterator to have two internal iterators, which will walk
      the provided sugared type and the desugared type.  This will provide better
      access to the template argument information.  No functional changes.
      
      llvm-svn: 257838
      ac1e2f8f
    • Pete Cooper's avatar
      Check for mismatched arch and OS when linking MachO files. · 99f3b949
      Pete Cooper authored
      This patch makes use of the handleLoadedFile hook added in r257814.
      
      That method is used to check the arch and the OS of the files we are linking
      against the arch and OS on the context.
      
      The first test to use this ensures that we do not try to combine i386 Mac OS code
      with i386 simulator code.
      
      llvm-svn: 257837
      99f3b949
    • Sanjay Patel's avatar
      784b5e3f
    • Hans Wennborg's avatar
      Don't use __DATE__ or __TIME__; it breaks release builds (PR26145) · 59162da0
      Hans Wennborg authored
      The release builds are configured to be reproducible, so that the
      binaries compare equal between bootstrap iterations. The OpenMP
      run-time build was failing like this:
      
      runtime/src/kmp_version.c:108:79: error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
      char const __kmp_version_build_time[]     = KMP_VERSION_PREFIX "build time: " __DATE__ " " __TIME__;
      
      Figuring as the build currently doesn't set LIBOMP_DATE, it's probably
      OK to skip setting the build time here too.
      
      llvm-svn: 257833
      59162da0
    • 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