Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [libc] Move implementations of strcat and strcpy to the string (details)
  2. [APFloat] Fix fusedMultiplyAdd when `this` equals to `Addend` (details)
  3. [lldb] Fix LLDB build after API change to printInst (D72172) (details)
Commit 188f72ab20d9523d6ffde8ad8361ecf17bb75946 by sivachandra
[libc] Move implementations of strcat and strcpy to the string
Summary: Now that tests live in separate top-level directory, keeping
the implementations of individual functions in a directory of their own
is not meaningful. Hence, this change moves them into the higher level
string directory.
NFC intended.
Reviewers: MaskRay
Subscribers: mgorny, tschuett, libc-commits
Tags: #libc-project
Differential Revision:
The file was modifiedlibc/src/string/CMakeLists.txt
The file was removedlibc/src/string/strcpy/strcpy.h
The file was removedlibc/src/string/strcpy/CMakeLists.txt
The file was modifiedlibc/test/src/string/strcpy_test.cpp
The file was modifiedlibc/test/src/string/strcat_test.cpp
The file was removedlibc/src/string/strcat/strcat.h
The file was addedlibc/src/string/strcat.h
The file was removedlibc/src/string/strcpy/strcpy.cpp
The file was removedlibc/src/string/strcat/CMakeLists.txt
The file was addedlibc/src/string/strcat.cpp
The file was addedlibc/src/string/strcpy.cpp
The file was removedlibc/src/string/strcat/strcat.cpp
The file was addedlibc/src/string/strcpy.h
Commit 08de551f4f1087c4dd3220fee8ec328fa168168c by ehudkatz
[APFloat] Fix fusedMultiplyAdd when `this` equals to `Addend`
Up until now, the arguments to `fusedMultiplyAdd` are passed by
reference. We must save the `Addend` value on the beginning of the
function, before we modify `this`, as they may be the same reference.
To fix this, we now pass the `addend` parameter of `multiplySignificand`
by value (instead of by-ref), and have a default value of zero.
Fix PR44051.
Differential Revision:
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
Commit 9890cc2ef08576cc16e32aff4288e7a7821a25f7 by Raphael Isemann
[lldb] Fix LLDB build after API change to printInst (D72172)
It seems in D72172 we always pass a 0 as the new default argument so
let's do the same in LLDB to get the build bot running.
The file was modifiedlldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp