llvm-project/clang
Balazs Benics d3e14fafc6 [analyzer][NFC] Display the correct function name even in crash dumps
The `-analyzer-display-progress` displayed the function name of the
currently analyzed function. It differs in C and C++. In C++, it
prints the argument types as well in a comma-separated list.
While in C, only the function name is displayed, without the brackets.
E.g.:

  C++: foo(), foo(int, float)
  C:   foo

In crash traces, the analyzer dumps the location contexts, but the
string is not enough for `-analyze-function` in C++ mode.
This patch addresses the issue by dumping the proper function names
even in stack traces.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D105708
2021-07-12 09:06:46 +02:00
..
INPUTS
bindings
cmake [clang][Fuchsia] Remove relative-vtables multilibs 2021-06-30 11:21:37 -07:00
docs Add documentation for -fsanitize-address-use-after-return. 2021-07-08 16:44:08 -07:00
examples
include [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
lib [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
runtime
test [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
tools Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
unittests Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
utils [RISCV][clang] Add macro __riscv_zvlsseg for RVV Zvlsseg builtins 2021-07-09 13:18:42 +08:00
www Add papers adopted by the C++ committee in the June 2021 plenary 2021-06-28 13:45:12 -04:00
.clang-format
.clang-tidy .clang-tidy: Disable misc-no-recursion in general/across the monorepo 2021-06-08 08:31:33 -07:00
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.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/