llvm-project/llvm
Martin Storsjö 3e7403a134 Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)"
This reverts commit 6dbf0cfcf7.

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.
2020-08-15 09:35:11 +03:00
..
benchmarks
bindings [Bindings] Remove ipc_propagation. 2020-08-02 22:36:53 +01:00
cmake [clangd] Clarify comments regarding gRPC linking 2020-08-14 11:02:03 +02:00
docs Remove inline gc arguments from statepoints 2020-08-14 19:44:24 -07:00
examples [examples][cmake] build fix for examples with BUILD_SHARED_LIBS=on 2020-08-14 11:39:04 -07:00
include [Statepoint] Remove code related to inline operand bundles 2020-08-14 20:29:41 -07:00
lib Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)" 2020-08-15 09:35:11 +03:00
projects
resources
runtimes Revert "[AIX] Try to not use LLVM tools while building runtimes" 2020-08-10 21:35:49 -04:00
test Revert "[SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)" 2020-08-15 09:35:11 +03:00
tools [llvm-libtool-darwin] Add support for -l and -L 2020-08-14 11:44:17 -07:00
unittests [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
utils [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
CODE_OWNERS.TXT Remove Olesen from LLVM code owners 2020-08-05 11:12:10 -07:00
CREDITS.TXT [test commit] Add my name to the CREDITS.TXT 2020-07-24 12:05:53 -05:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.