mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
b7710f8516
This is a pretty large refactor / re-write of the Microsoft demangler. The previous one was a little hackish because it evolved as I was learning about all the various edge cases, exceptions, etc. It didn't have a proper AST and so there was lots of custom handling of things that should have been much more clean. Taking what was learned from that experience, it's now re-written with a completely redesigned and much more sensible AST. It's probably still not perfect, but at least it's comprehensible now to someone else who wants to come along and make some modifications or read the code. Incidentally, this fixed a couple of bugs, so I've enabled the tests which now pass. llvm-svn: 340710
9 lines
176 B
CMake
9 lines
176 B
CMake
add_llvm_library(LLVMDemangle
|
|
ItaniumDemangle.cpp
|
|
MicrosoftDemangle.cpp
|
|
MicrosoftDemangleNodes.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
"${LLVM_MAIN_INCLUDE_DIR}/llvm/Demangle"
|
|
)
|