summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBalazs Benics <balazs.benics@sigmatechnology.se>2021-07-12 09:06:46 +0200
committerBalazs Benics <balazs.benics@sigmatechnology.se>2021-07-12 09:06:46 +0200
commitd3e14fafc69a07e3dab9ddb91f1d810bb5f8d7a0 (patch)
treea3cd5552d1446e151ea9541c5ffc682ac08e7031 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent04f8ffd98306a0b0b60987208547ee6745b0fc3e (diff)
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions