aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/CMakeLists.txt
diff options
context:
space:
mode:
authorKyuwon Cho <kyuwoncho18@gmail.com>2023-01-30 10:10:50 -0800
committerArthur Eubanks <aeubanks@google.com>2023-01-30 11:19:10 -0800
commit155e0cf5dc2ffba0a509b1dea25fb4c31eeb367e (patch)
treebaf7260fe7f2abf240f4083073cd4ef91b5a6fae /llvm/lib/IR/CMakeLists.txt
parent76d7a6ad13be601bd93e7c5fa9988326b4e05b6e (diff)
downloadllvm-155e0cf5dc2ffba0a509b1dea25fb4c31eeb367e.zip
llvm-155e0cf5dc2ffba0a509b1dea25fb4c31eeb367e.tar.gz
llvm-155e0cf5dc2ffba0a509b1dea25fb4c31eeb367e.tar.bz2
Reland [LTO] Demangle the function name in DiagnosticInfoDontCall message
Previously, dontcall attribute message on LTO prints the mangled function name. Fixes https://github.com/llvm/llvm-project/issues/58933 Relanded with proper IR -> Demangle dependency. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D142844
Diffstat (limited to 'llvm/lib/IR/CMakeLists.txt')
-rw-r--r--llvm/lib/IR/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/CMakeLists.txt b/llvm/lib/IR/CMakeLists.txt
index aacfe2b6..88c4938 100644
--- a/llvm/lib/IR/CMakeLists.txt
+++ b/llvm/lib/IR/CMakeLists.txt
@@ -78,6 +78,7 @@ add_llvm_component_library(LLVMCore
LINK_COMPONENTS
BinaryFormat
+ Demangle
Remarks
Support
TargetParser