llvm-capstone/clang
Rong Xu 11857d4994 [remark][diagnostics] [codegen] Fix PR44896
This patch fixes PR44896. For IR input files, option fdiscard-value-names
should be ignored as we need named values in loadModule().
Commit 60d3947922 sets this option after loadModule() where valued names
already created. This creates an inconsistent state in setNameImpl()
that leads to a seg fault.
This patch forces fdiscard-value-names to be false for IR input files.

This patch also emits a warning of "ignoring -fdiscard-value-names" if
option fdiscard-value-names is explictly enabled in the commandline for
IR input files.

Differential Revision: https://reviews.llvm.org/D74878
2020-02-25 08:15:17 -08:00
..
bindings Hopefully fixing a failing build bot. 2020-02-18 11:39:23 -05:00
cmake Revert "[CMake] Explicitly specify paths to libc++abi in CrossWinToARMLinux.cmake" 2020-02-17 16:06:30 +03:00
docs [ASTMatchers] Adds a matcher called hasAnyOperatorName 2020-02-25 07:51:20 +00:00
examples [examples] Fix the clang-interpreter example for changes in 85fb997659. 2020-02-19 19:01:32 -08:00
include [remark][diagnostics] [codegen] Fix PR44896 2020-02-25 08:15:17 -08:00
INPUTS
lib [remark][diagnostics] [codegen] Fix PR44896 2020-02-25 08:15:17 -08:00
runtime
test [remark][diagnostics] [codegen] Fix PR44896 2020-02-25 08:15:17 -08:00
tools Revert "libclang: Add static build support for Windows" and 2020-02-20 15:17:51 -05:00
unittests Make builtbot happy. 2020-02-25 17:04:38 +01:00
utils [ARM,MVE] Add the vmovnbq,vmovntq intrinsic family. 2020-02-18 09:34:50 +00:00
www [cxx_status] Update -std= instructions for C++20. 2020-02-20 11:40:09 -08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Fix compiler extension in standalone mode 2020-02-20 07:19:04 +01:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/