1. Jul 18, 2015
  2. Jul 17, 2015
    • Pavel Labath's avatar
      Standalone cmake build improvements (bug #23889) · 6512cad8
      Pavel Labath authored
      patch by Eugene Zelenko.
      
      llvm-svn: 242529
      6512cad8
    • Alexandros Lamprineas's avatar
      Edited the CPUNames table of TargetParser · 69718d24
      Alexandros Lamprineas authored
      - Changed the default FPU of cortex-m4.
      - Removed "cortex-m4f" entry. Currently not supported.
      
      Change-Id: I73121e358aa9e7ba68eb001c2143df390ff2352a
      Phabricator: http://reviews.llvm.org/D11100
      llvm-svn: 242528
      69718d24
    • Pavel Labath's avatar
      Fix liblldb linking on RHEL 6 (bug #24140) · 4a0d7bca
      Pavel Labath authored
      Patch by Eugene Zelenko.
      
      llvm-svn: 242525
      4a0d7bca
    • Tobias Grosser's avatar
      GPURuntimeDebugPrinter: Printer pointer values (except if they are strings) · 495124c4
      Tobias Grosser authored
      Only pointer values in constant address space are assumed to be strings. For
      all other pointers their address is printed.
      
      llvm-svn: 242524
      495124c4
    • Tom Stellard's avatar
      R600: Add macro defs for all supported OpenCL extensions · 2204137d
      Tom Stellard authored
      llvm-svn: 242523
      2204137d
    • Petar Jovanovic's avatar
      [Mips] Set mips64r6 as default CPU for MIPS64 Android · 9fe32cde
      Petar Jovanovic authored
      Change default CPU for MIPS64 Android. Now it is mips64r6.
      
      Differential Revision: http://reviews.llvm.org/D11294
      
      llvm-svn: 242522
      9fe32cde
    • Andrey Bokhanko's avatar
      Changed "pragma" -> "#pragma" in a comment, NFC. · f647202f
      Andrey Bokhanko authored
      llvm-svn: 242521
      f647202f
    • John Brawn's avatar
      Make global aliases have symbol size equal to their type · 9ca9ca28
      John Brawn authored
      This is mainly for the benefit of GlobalMerge, so that an alias into a
      MergedGlobals variable has the same size as the original non-merged
      variable.
      
      Differential Revision: http://reviews.llvm.org/D10837
      
      llvm-svn: 242520
      9ca9ca28
    • Tamas Berghammer's avatar
      Improve conditional opcode handling in emulation based unwinding · 022622f1
      Tamas Berghammer authored
      Don't chane the CFI information when a conditional instruction
      is emulated (eg.: popeq {r0, pc}) because the CFI for the next
      instruction should be the same as the CFI for the current instruction.
      
      Differential revision: http://reviews.llvm.org/D11258
      
      llvm-svn: 242519
      022622f1
    • Daniel Sanders's avatar
      test-release.sh: Add ability to do a test build using the trunk or branches. · c2672e5d
      Daniel Sanders authored
      Summary:
      Adds '--svn-path BRANCH' that causes the script to export the specified path
      from each project. Otherwise the tag specified by -release, -rc, etc. will be
      used. The version portion of the package name will be 'test-$path' (any forward
      slashes in the branch name are replaced with underscores), for example:
        -svn-path trunk => clang+llvm-test-trunk-mips-linux-gnu.tar.xz
        -svn-path branches/release_35 => clang+llvm-test-branches_release_35-mips-linux-gnu.tar.xz
      
      This is primarily useful for bringing new release packages up to standard
      without needing to create and maintain a tag for the purpose.
      
      Reviewers: tstellarAMD, hans
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D6563
      
      llvm-svn: 242518
      c2672e5d
    • Pavel Labath's avatar
      [LLGS] Limit jThreadsInfo to only the most important registers for now · e4fc4ef4
      Pavel Labath authored
      Summary:
      It seems that reading of register data is the biggest bottleneck in LLGS at the moment. Sending
      four registers instead of the full GPR set increases the jThreadsInfo processing time about
      6-fold. Until we figure out where is this time going, this commit limits the amount of data we
      send to provide a more fluid debugging experience.
      
      Reviewers: tberghammer, ovyalov
      
      Subscribers: lldb-commits
      
      Differential Revision: http://reviews.llvm.org/D11264
      
      llvm-svn: 242517
      e4fc4ef4
    • Tamas Berghammer's avatar
      Fix android build after r242514 · 15ef9475
      Tamas Berghammer authored
      On android std::to_string isn't supported. Replace it with
      llvm::utostr.
      
      llvm-svn: 242516
      15ef9475
    • Pavel Labath's avatar
      [MainLoop] Fix assertion failure · f3898c30
      Pavel Labath authored
      Upon connection termination the waitable handle of an IOObject gets reset to an invalid handle.
      This caused a problem since we used the object->GetWaitableHandle as a key to the set of
      registered events. The fix is to use something more immutable as a key: we make a copy of the
      original waitable handle, instead of holding onto the IOObject.
      
      llvm-svn: 242515
      f3898c30
    • Alexandros Lamprineas's avatar
      -Refactored ARMTargetInfo in order to use the API of TargetParser · 65bc3063
      Alexandros Lamprineas authored
       for extracting target specific information.
      -Patches commit r241343: case 'armv7l' was unhandled in
       ARMTargetInfo::getCPUAttr(), and thus it was returning invalid
       characters for macro definition.
      
      Change-Id: I1a0972e5ff5529cd17376c6562047bab8b4da32c
      Phabricator: http://reviews.llvm.org/D10839
      llvm-svn: 242514
      65bc3063
    • Andrew Wilkins's avatar
      [llgo] cmd/gllgo: handle/ignore more flags · 7a94f98b
      Andrew Wilkins authored
      Summary:
      This diff is to support Debian packaging,
      which sets various hardening-rleated flags
      in CFLAGS. They don't make sense for Go,
      so we just ignore them.
      
      Reviewers: pcc
      
      Subscribers: llvm-commits, axw
      
      Differential Revision: http://reviews.llvm.org/D11288
      
      llvm-svn: 242513
      7a94f98b
    • Chandler Carruth's avatar
      [PM/AA] Disable the core unsafe aspect of GlobalsModRef in the face of · f55803f7
      Chandler Carruth authored
      basic changes to the IR such as folding pointers through PHIs, Selects,
      integer casts, store/load pairs, or outlining.
      
      This leaves the feature available behind a flag. This flag's default
      could be flipped if necessary, but the real-world performance impact of
      this particular feature of GMR may not be sufficiently significant for
      many folks to want to run the risk.
      
      Currently, the risk here is somewhat mitigated by half-hearted attempts
      to update GlobalsModRef when the rest of the optimizer changes
      something. However, I am currently trying to remove that update
      mechanism as it makes migrating the AA infrastructure to a form that can
      be readily shared between new and old pass managers very challenging.
      Without this update mechanism, it is possible that this still unlikely
      failure mode will start to trip people, and so I wanted to try to
      proactively avoid that.
      
      There is a lengthy discussion on the mailing list about why the core
      approach here is flawed, and likely would need to look totally different
      to be both reasonably effective and resilient to basic IR changes
      occuring. This patch is essentially the first of two which will enact
      the result of that discussion. The next patch will remove the current
      update mechanism.
      
      Thanks to lots of folks that helped look at this from different angles.
      Especial thanks to Michael Zolotukhin for doing some very prelimanary
      benchmarking of LTO without GlobalsModRef to get a rough idea of the
      impact we could be facing here. So far, it looks very small, but there
      are some concerns lingering from other benchmarking. The default here
      may get flipped if performance results end up pointing at this as a more
      significant issue.
      
      Also thanks to Pete and Gerolf for reviewing!
      
      Differential Revision: http://reviews.llvm.org/D11213
      
      llvm-svn: 242512
      f55803f7
    • Peter Zotov's avatar
      [OCaml] Use a nicer style for documentation than OCaml default. · 7ef4bf5e
      Peter Zotov authored
      In particular, it's much easier to read, as it doesn't expand all
      the way on wide-screen displays.
      
      CSS committed under LLVM license with explicit permission from
      Daniel Bünzli <daniel.buenzli@erratique.ch>.
      
      llvm-svn: 242511
      7ef4bf5e
    • Kuba Brecka's avatar
      [asan] Fix invalid debug info for promotable allocas · 37a5ffac
      Kuba Brecka authored
      Since r230724 ("Skip promotable allocas to improve performance at -O0"), there is a regression in the generated debug info for those non-instrumented variables. When inspecting such a variable's value in LLDB, you often get garbage instead of the actual value. ASan instrumentation is inserted before the creation of the non-instrumented alloca. The only allocas that are considered standard stack variables are the ones declared in the first basic-block, but the initial instrumentation setup in the function breaks that invariant.
      
      This patch makes sure uninstrumented allocas stay in the first BB.
      
      Differential Revision: http://reviews.llvm.org/D11179
      
      llvm-svn: 242510
      37a5ffac
    • Davide Italiano's avatar
      [llvm-cxxdump] Don't rely on global state · 81032949
      Davide Italiano authored
      Differential Revision:	http://reviews.llvm.org/D11227
      
      llvm-svn: 242509
      81032949
    • David Majnemer's avatar
      [CodeGen, X86] Classify vectors <= 32 bits as INTEGER · f8d14dbc
      David Majnemer authored
      We shouldn't crash despite the AMD64 ABI not giving clear guidance as to
      how to pass around vector types <= 32 bits.  Instead, classify such
      vectors as INTEGER to be compatible with GCC.
      
      This fixes PR24162.
      
      llvm-svn: 242508
      f8d14dbc