SuccessChanges

Summary

  1. [lldb] Remove XFAIL from now passing TestPtrRefs/TestPtreRefsObjC (details)
  2. Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)" (details)
Commit 7208cb1ac43e4be806bcb91c622fc1f8641e010b by Raphael Isemann
[lldb] Remove XFAIL from now passing TestPtrRefs/TestPtreRefsObjC

8fcfe2862fd4fde4793e232cfeebe6c5540c80a5 and
0cceb54366b406649fdfe7bb11b133ab96f3cd70 fixed those tests.
The file was modifiedlldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
The file was modifiedlldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
Commit 3e7403a1346f9644511170e0b29b5adf68996309 by martin
Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)"

This reverts commit 6dbf0cfcf789365493f70ae69df8a7a59be41c75.

That commit caused failed assertions, e.g. like this:

$ cat sprintf-strcpy.c
char *ptr; void func(void) { ptr += sprintf(ptr, "%s", ""); }

$ clang -c sprintf-strcpy.c -O2 -target x86_64-linux-gnu
clang: ../lib/IR/Value.cpp:473: void llvm::Value::doRAUW(llvm::Value*,
llvm::Value::ReplaceMetadataUses): Assertion `New->getType() ==
getType() && "replaceAllUses of value with new value of different
type!"' failed.
The file was modifiedllvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
The file was modifiedllvm/test/Transforms/InstCombine/sprintf-1.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp