https://bugs.kde.org/show_bug.cgi?id=445235
--- Comment #8 from Philippe Waroquiers <philippe.waroqui...@skynet.be> --- (In reply to Paul Floyd from comment #7) > I installed gnat and I get, without any mods > > ==48426== 4 bytes in 1 blocks are definitely lost in loss record 1 of 2 > ==48426== at 0x484D2E4: malloc (vg_replace_malloc.c:450) > ==48426== by 0x4090A6: __gnat_malloc (s-memory.adb:79) > ==48426== by 0x402CE9: _ada_leak_new (leak_new.adb:4) > ==48426== by 0x402CA4: main (b~leak_new.adb:194) > ==48426== > ==48426== 40 bytes in 10 blocks are definitely lost in loss record 2 of 2 > ==48426== at 0x484D2E4: malloc (vg_replace_malloc.c:450) > ==48426== by 0x4090A6: __gnat_malloc (s-memory.adb:79) > ==48426== by 0x402D04: _ada_leak_new (leak_new.adb:7) > ==48426== by 0x402CA4: main (b~leak_new.adb:194) > > and if I make a small change to detect the "_ada_" prefix and then call > ada_demangle I get Note that that _ada_ prefix is added by the compiler to the "top level" procedures (that could at least potentially be a "main" procedure). If you e.g. write a package something.ads such as: package Something is procedure Some_Procedure; end Something; with its body something.adb being: with Text_IO; use Text_IO; package body Something is procedure Some_Procedure is begin Put_Line ("Hello world"); end Some_Procedure; end Something; then Some_Procedure mangled will be something like: something__some_procedure (with e.g. 2 underscores between the package name and the procedure name). -- You are receiving this mail because: You are watching all bug changes.