aboutsummaryrefslogtreecommitdiff
path: root/src/common/demangle.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-01-24 11:03:14 -0800
committerGitHub <noreply@github.com>2023-01-24 11:03:14 -0800
commit44b981fd3eb3db5c15bcc24e61bae45607223ee6 (patch)
tree62d8081e018120505df0832ca9af1671be8e8d1f /src/common/demangle.cpp
parenta68af583ea378b48e2ed5a19f519a815ba89e40f (diff)
parent34b1ea9c1925d0da9377973d25e10e9b5ec40e94 (diff)
Merge pull request #9662 from abouvier/cmake-llvm
cmake: prefer system llvm library
Diffstat (limited to 'src/common/demangle.cpp')
-rw-r--r--src/common/demangle.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/demangle.cpp b/src/common/demangle.cpp
index f4246f6668..3310faf86a 100644
--- a/src/common/demangle.cpp
+++ b/src/common/demangle.cpp
@@ -1,13 +1,11 @@
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <llvm/Demangle/Demangle.h>
+
#include "common/demangle.h"
#include "common/scope_exit.h"
-namespace llvm {
-char* itaniumDemangle(const char* mangled_name, char* buf, size_t* n, int* status);
-}
-
namespace Common {
std::string DemangleSymbol(const std::string& mangled) {