llvm-project/clang/lib
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
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
ASTMatchers [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
Analysis [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Basic WebAssembly: Update datalayout to match fp128 ABI change 2021-07-09 16:51:36 -07:00
CodeGen [OpenMP] Unified entry point for SPMD & generic kernels in the device RTL 2021-07-10 17:53:56 -05:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [NFC] Fix typo in comment 2021-07-02 11:39:17 +01:00
Frontend Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [WebAssembly] Custom combines for f64x2.promote_low_f32x4 2021-07-09 18:59:29 -07:00
Index [index] Fix performance regression with indexing macros 2021-06-16 10:16:26 -07:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Interpreter Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
Lex PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Parse Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
Serialization Revert "[clang-repl] Implement partial translation units and error recovery." 2021-07-11 14:40:10 +00:00
StaticAnalyzer [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [libTooling] Add support for implicit `this` to `buildAddressOf`. 2021-07-07 17:35:04 +00:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00