Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] DW_AT_[MIPS_]linkage_name inconsistency"
2014 May 07
2
[LLVMdev] DWARF unmangled subprog name (DW_AT_name)
Hi,
I am looking for a way to get unmangled subprogram names from a
DWARFContext. The name I want is available in the attribute `DW_AT_name`
[1], but as far as I can tell this is only returned as a fallback in
`DWARFDebugInfoEntryMinimal::getSubroutineName` when the linkage name is
not available [2].
If this is not currently possible, is there any interest in adding such
access to the public
2014 May 07
2
[LLVMdev] DWARF unmangled subprog name (DW_AT_name)
That doesn't seem possible with the public API or am I mistaking?
On Wed, May 7, 2014 at 12:13 AM, Eric Christopher <echristo at gmail.com>wrote:
> On Tue, May 6, 2014 at 8:09 PM, Isaiah Norton <isaiah.norton at gmail.com>
> wrote:
> > Hi,
> >
> > I am looking for a way to get unmangled subprogram names from a
> > DWARFContext. The name I want is
2014 May 07
2
[LLVMdev] DWARF unmangled subprog name (DW_AT_name)
The use case is getting the short name for backtraces. There are other
options, but I figured it was worth a shot trying to access from the DWARF
structure because what we need is already stored there anyway.
Thanks,
Isaiah
On Wed, May 7, 2014 at 12:24 PM, Alexey Samsonov <samsonov at google.com>wrote:
> Yeah, public API of DebugInfo library is quite minimalistic. But I agree
>
2014 May 07
2
[LLVMdev] DWARF unmangled subprog name (DW_AT_name)
On Wed, May 7, 2014 at 11:33 AM, Eric Christopher <echristo at gmail.com>wrote:
> Have you checked out llvm-symbolize? It's what the asan folk
> (including Alexey) have created for backtrace symbolication.
>
Yeah, we potentially can add some kind of option: "llvm-symbolizer
-print-short-function-names", I don't yet see why this would be valuable.
What's wrong
2014 May 07
5
[LLVMdev] DWARF unmangled subprog name (DW_AT_name)
On Wed, May 7, 2014 at 11:38 AM, Keno Fischer
<kfischer at college.harvard.edu>wrote:
> The use case for this is in Julia backtraces. We don't have a consistent
> way to mangle the function names for linkage (we might at some point in the
> future, but this is out of scope for now). Instead, we save whatever we
> want displayed in AT_name, but there's no way to access
2015 Jun 02
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
Hello,
I'm having this error and couldn't find a resolution from online, any help
would be greatly appreciated:
clang:
/export/home/hzhang86/chapel/chapel-llvm36/chapel/third-party/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:839:
void llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType,
llvm::dwarf::Attribute): Assertion `Ty && "Trying to add a type that
doesn't
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
I think this is https://llvm.org/bugs/show_bug.cgi?id=16846
On Jun 4, 2015 12:04 PM, "Hui Zhang" <wayne.huizhang at gmail.com> wrote:
> Is there any clue for this error ?
>
> Thanks
>
> On Tue, Jun 2, 2015 at 5:47 PM, Hui Zhang <wayne.huizhang at gmail.com>
> wrote:
>
>> Hello,
>>
>> I'm having this error and couldn't find a
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
Upgrade clang? I can't reproduce it with trunk.
On 4 June 2015 at 14:48, Hui Zhang <wayne.huizhang at gmail.com> wrote:
> Yes, I found this link, but what's the solution??
>
> On Thu, Jun 4, 2015 at 1:09 PM, Rafael Espíndola
> <rafael.espindola at gmail.com> wrote:
>>
>> I think this is https://llvm.org/bugs/show_bug.cgi?id=16846
>>
>> On
2016 May 09
4
RFC: metadata attachments for global variables
On Mon, May 9, 2016 at 4:26 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Mon, May 9, 2016 at 3:38 PM, Peter Collingbourne <peter at pcc.me.uk>
> wrote:
>
>>
>>
>> On Mon, May 9, 2016 at 3:17 PM, Peter Collingbourne <peter at pcc.me.uk>
>> wrote:
>>
>>>
>>>
>>> On Mon, May 9, 2016 at 2:33 PM,
2016 May 10
2
RFC: metadata attachments for global variables
On Tue, May 10, 2016 at 3:03 PM, Adrian Prantl <aprantl at apple.com> wrote:
>
> On May 9, 2016, at 4:42 PM, Peter Collingbourne via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
>
> On Mon, May 9, 2016 at 4:26 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>>
>>
>> On Mon, May 9, 2016 at 3:38 PM, Peter Collingbourne <peter
2016 May 10
2
RFC: metadata attachments for global variables
On Tue, May 10, 2016 at 11:45 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Mon, May 9, 2016 at 4:42 PM, Peter Collingbourne <peter at pcc.me.uk>
> wrote:
>
>>
>>
>> On Mon, May 9, 2016 at 4:26 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>
>>>
>>>
>>> On Mon, May 9, 2016 at 3:38 PM, Peter
2014 Jan 05
3
Architecture for large Dovecot cluster
Hi All,
I am trying to determine whether a mail server cluster based on Dovecot
will be capable of supporting 500,000+ mailboxes with about 50,000 IMAP
and 5000 active POP3 connections. I have looked at the Dovecot
clustering suggestions here:
http://blog.dovecot.org/2012/02/dovecot-clustering-with-dsync-based.html
and some other Dovecot mailing list threads but I am not sure how many
2016 Nov 18
2
DWARF Generator
Re DW_FORM_string the savings is small but since it came up I thought
I'd mention the idea. I agree it's not worth pursuing any further.
An API to use that form explicitly (that isn't the normal debug-info
generation API) to facilitate testing is fine.
Regarding DWARF parsing speed where strings are concerned: DWARF 5 will
ruin this because DW_FORM_strx is a ULEB; so, every DIE
2016 May 09
2
RFC: metadata attachments for global variables
On Mon, May 9, 2016 at 3:17 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
>
> On Mon, May 9, 2016 at 2:33 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>>
>>
>> On Mon, May 9, 2016 at 1:53 PM, Peter Collingbourne <peter at pcc.me.uk>
>> wrote:
>>
>>>
>>>
>>> On Fri, May 6, 2016 at 2:10 PM, David
2018 Mar 02
5
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
Hi all,
As you may know modern C++ debuggers (GDB and LLDB) support dynamic type
identification for polymorphic objects, by utilizing C++ RTTI.
Unfortunately this feature does not work with Clang and GDB >= 7.x . The
last compiler that worked well was G++ 6.x
I've asked about this issue both on GDB and LLDB maillists. Unfortunately
it's hard or impossible to fix it on debugger side.
2018 Mar 03
2
[cfe-dev] Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
Mangled names can be long indeed, but pretty-printed types are also long. I
can evaluate effect on size on clang codebase itself.
If you disable RTTI, than obviously you can't use it. So if RTTI is
disabled, we can disable mangled names in DWARF. Clang is compiled without
standard C++ RTTI because it has it's own RTTI. In general, however, many
libraries use standard RTTI.
2018-03-02
2018 Mar 03
0
[cfe-dev] Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
Here is result of experiment:
(Original size , with DW_AT_linkage_name for composites, % increase)
clang-7.0 1926574256 1952846192 1.4%
clang-tidy 1220980360 1238498112 1.4%
llvm-mt 7404728 7525328 1.6 %
std::cout << "hello world!" 21552 22080 2.4 %
IMO, not that big price for reliable dynamic type identification (Full
disclosure: I need depend on this feature, since
2018 Nov 26
2
Source locations missing when using xray-account
Hi all,
I am trying to add XRay support to the IR produced by GHC. Getting the
basics working is not too complicated after adding the right function
attribute but any analysis shows the function names but not the
locations of the functions.
In particular, I run a program which has been instrumented as follows:
XRAY_OPTIONS="patch_premain=true xray_mode=xray-basic verbosity=1" ./llvm
2018 Mar 03
0
[cfe-dev] Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
> Currently what debugger has to do is to demangle RTTI name and try to
> match it to DW_AT_name attribute to find type. As you can see it does
> not work for any of 3 examples.
>
> I've asked about the problem on G++ maillist, and one of the proposed
> solutions is to emit DW_AT_linkage_name for types.
>
> Can this solution be also implemented in LLVM?
It could, but
2018 Mar 04
0
Emiting linkage names for Types to Debuginfo (C++ RTTI support in GDB/LLDB)
On Fri, Mar 2, 2018 at 3:58 PM, Roman Popov via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi all,
>
> As you may know modern C++ debuggers (GDB and LLDB) support dynamic type
> identification for polymorphic objects, by utilizing C++ RTTI.
> Unfortunately this feature does not work with Clang and GDB >= 7.x . The
> last compiler that worked well was G++ 6.x
>