1. May 01, 2019
    • Petr Hosek's avatar
      [compiler-rt] Simple crtbegin.o and crtend.o implementation · c8be6e67
      Petr Hosek authored
      Clang relies on existence of certain symbols that are normally
      provided by crtbegin.o/crtend.o. However, LLVM does not currently
      provide implementation of these files, instead relying on either
      libgcc or implementations provided as part of the system.
      
      This change provides an initial implementation of crtbegin.o/crtend.o
      that can be used on system that don't provide crtbegin.o/crtend.o as
      part of their C library.
      
      Differential Revision: https://reviews.llvm.org/D28791
      
      llvm-svn: 359576
      c8be6e67
    • Jonas Devlieghere's avatar
      XFAIL x86-64-zmm-read on Darwin · 9fa970a2
      Jonas Devlieghere authored
      llvm-svn: 359575
      9fa970a2
    • Yitzhak Mandelbaum's avatar
      [LibTooling] Change Transformer's TextGenerator to a partial function. · aecc59c5
      Yitzhak Mandelbaum authored
      Summary:
      Changes the signature of the TextGenerator std::function to return an Expected<std::string>
      instead of std::string to allow for (non-fatal) failures.  Previously, we
      expected that any failures would be expressed with assertions. However, that's
      unfriendly to running the code in servers or other places that don't want their
      library calls to crash the program.
      
      Correspondingly, updates Transformer's handling of failures in TextGenerators
      and the signature of `ChangeConsumer`.
      
      Reviewers: ilya-biryukov
      
      Subscribers: cfe-commits
      
      Tags: #clang
      
      Differential Revision: https://reviews.llvm.org/D61015
      
      llvm-svn: 359574
      aecc59c5
    • Stella Stamenova's avatar
      Un-xfail the TestMiniDump tests on Windows · be323ef5
      Stella Stamenova authored
      After Aaron's commit for ObjectFilePECOFF:: GetUUID, the tests are now passing
      
      llvm-svn: 359573
      be323ef5
    • Michal Gorny's avatar
      [lldb] [Process/NetBSD] Fix handling piod_len from PT_IO calls · d14a0de9
      Michal Gorny authored
      Fix bugs in piod_len return value processing in ReadMemory()
      and WriteMemory() methods.  In particular, add support for piod_len == 0
      indicating EOF, and fix summing bytes_read/bytes_written when PT_IO does
      partial reads/writes.
      
      The EOF condition could happen if LLDB attempts to read past
      vm.maxaddress, e.g. as a result of RBP containing large (invalid) value.
      Previously, the 0 return caused the function to retry reading via PT_IO
      indefinitely, effectively deadlooping lldb-server.
      
      Partial reads probably did not occur in practice, yet they would cause
      ReadMemory() to return incorrect bytes_read and/or overwrite previously
      read data.
      
      WriteMemory() suffered from analoguous problems.
      
      Differential Revision: https://reviews.llvm.org/D61310
      
      llvm-svn: 359572
      d14a0de9
  2. Apr 30, 2019