This website requires JavaScript.
Explore
Help
Register
Sign In
RPCSX
/
llvm
Watch
1
Star
0
Fork
0
You've already forked llvm
mirror of
https://github.com/RPCSX/llvm.git
synced
2025-01-11 15:07:58 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
llvm
/
tools
/
llvm-cxxfilt
/
CMakeLists.txt
9 lines
101 B
CMake
Raw
Normal View
History
Unescape
Escape
Add an c++ itanium demangler to llvm. This adds a copy of the demangler in libcxxabi. The code also has no dependencies on anything else in LLVM. To enforce that I added it as another library. That way a BUILD_SHARED_LIBS will fail if anyone adds an use of StringRef for example. The no llvm dependency combined with the fact that this has to build on linux, OS X and Windows required a few changes to the code. In particular: No constexpr. No alignas On OS X at least this library has only one global symbol: __ZN4llvm16itanium_demangleEPKcPcPmPi My current plan is: Commit something like this Change lld to use it Change lldb to use it as the fallback Add a few #ifdefs so that exactly the same file can be used in libcxxabi to export abi::__cxa_demangle. Once the fast demangler in lldb can handle any names this implementation can be replaced with it and we will have the one true demangler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280732 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-06 19:16:48 +00:00
set
(
LLVM_LINK_COMPONENTS
D
e
m
a
n
g
l
e
[llvm-cxxfilt] Use llvm::outs(). Simplify. This adds a dependency on Support/. As llvm-cxxfilt will grow support for options this will be needed anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282523 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-27 18:50:30 +00:00
S
u
p
p
o
r
t
Add an c++ itanium demangler to llvm. This adds a copy of the demangler in libcxxabi. The code also has no dependencies on anything else in LLVM. To enforce that I added it as another library. That way a BUILD_SHARED_LIBS will fail if anyone adds an use of StringRef for example. The no llvm dependency combined with the fact that this has to build on linux, OS X and Windows required a few changes to the code. In particular: No constexpr. No alignas On OS X at least this library has only one global symbol: __ZN4llvm16itanium_demangleEPKcPcPmPi My current plan is: Commit something like this Change lld to use it Change lldb to use it as the fallback Add a few #ifdefs so that exactly the same file can be used in libcxxabi to export abi::__cxa_demangle. Once the fast demangler in lldb can handle any names this implementation can be replaced with it and we will have the one true demangler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280732 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-06 19:16:48 +00:00
)
add_llvm_tool
(
llvm-cxxfilt
l
l
v
m
-
c
x
x
f
i
l
t
.
c
p
p
)
Reference in New Issue
Copy Permalink