search for: itaniumabi

Displaying 9 results from an estimated 9 matches for "itaniumabi".

2014 Apr 02
5
[LLVMdev] [lld] adding demangler for symbol resolution
...eturns input string) if demangling is not available, the string is not a mangled symbol, or demangling was turned off (--no-demangle). Then, you just wrap a demangle() call around every use. Are you mentioning that one demangle function in LinkingContext ? One demangle method wouldnt work as the ItaniumABI uses one method to demangle, ARMCXXABI uses a different method, and MSVC uses a different one. I am not sure about Mach-O here ? > The __cxa_demangle function has an odd interface that requires a malloc allocated block. Having demangle() return a std::string means yet another allocation. We...
2014 Apr 03
2
[LLVMdev] [lld] adding demangler for symbol resolution
...stion is to move the canDemangle functionality into demangle, so clients just always use: > str = ctx.demangle(sym); > and it returns the input string if a demangler is not available or is disabled. > Yes. This would be much preferrred. >> One demangle method wouldnt work as the ItaniumABI uses one method to demangle, ARMCXXABI uses a different method, and MSVC uses a different one. I am not sure about Mach-O here ? > Given that, how can we make an lld tool that cross builds the same as it on the native system? Are you thinking of writing your own demangler? Or use whatever one...
2018 Mar 05
0
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
...and see how it helps. Let's assume the below is true and it won't work on OSX as described (i'm certainly in no place to disagree). Some data points: 1. LLDB works just fine on Darwin (it appears to do the same thing we did in gdb, staring at source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp) 2. GDB does not work on Darwin at all for any real debugging right now (You can't debug llvm with it, for example). There are barely working versions here and there. The startup time to debug an "opt" binary from llvm is well over 2 minutes alone to g...
2018 Mar 06
4
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
...#39;s assume the below is true and it won't work on OSX as described (i'm > certainly in no place to disagree). > > Some data points: > > 1. LLDB works just fine on Darwin (it appears to do the same thing we did > in gdb, staring at source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ > ItaniumABILanguageRuntime.cpp) > > 2. GDB does not work on Darwin at all for any real debugging right now > (You can't debug llvm with it, for example). There are barely working > versions here and there. The startup time to debug an "opt" binary from > llvm is...
2018 Mar 06
0
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
...it won't work on OSX as described (i'm >> certainly in no place to disagree). >> >> Some data points: >> >> 1. LLDB works just fine on Darwin (it appears to do the same thing we did >> in gdb, staring at source/Plugins/LanguageRunt >> ime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp) >> >> 2. GDB does not work on Darwin at all for any real debugging right now >> (You can't debug llvm with it, for example). There are barely working >> versions here and there. The startup time to debug an "opt" binary from &gt...
2018 Mar 05
2
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
On Mon, Mar 5, 2018 at 9:09 AM Daniel Berlin <dberlin at dberlin.org> wrote: > On Mon, Mar 5, 2018 at 8:37 AM, David Blaikie <dblaikie at gmail.com> wrote: > >> >> >> On Sat, Mar 3, 2018 at 8:20 PM Daniel Berlin via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> On Fri, Mar 2, 2018 at 3:58 PM, Roman Popov via llvm-dev <
2014 Apr 02
5
[LLVMdev] [lld] adding demangler for symbol resolution
Hi Nick, Bigcheese, When lld is used to link C++ code, it would be required to demangle symbol names by default/user driven option. The Gnu linker has the following options :- --demangle=[style] --no-demangle I found that clang/llvm-symbolizer use __cxx_demangle function. I would think that lld also need to call the same function, and I think the way we want to demangle is to have the
2018 Mar 06
2
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
...described >>> (i'm certainly in no place to disagree). >>> >>> Some data points: >>> >>> 1. LLDB works just fine on Darwin (it appears to do the same thing we >>> did in gdb, staring at source/Plugins/LanguageRunt >>> ime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp) >>> >>> 2. GDB does not work on Darwin at all for any real debugging right now >>> (You can't debug llvm with it, for example). There are barely working >>> versions here and there. The startup time to debug an "opt"...
2018 Mar 06
3
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
...s described >>> (i'm certainly in no place to disagree). >>> >>> Some data points: >>> >>> 1. LLDB works just fine on Darwin (it appears to do the same thing we >>> did in gdb, staring >>> at source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp) >>> >>> 2. GDB does not work on Darwin at all for any real debugging right now >>> (You can't debug llvm with it, for example). There are barely working >>> versions here and there. The startup time to debug an "opt"...