https://bugs.kde.org/show_bug.cgi?id=253657

--- Comment #17 from Daniel Lehman <dlehma...@gmail.com> ---
Created attachment 114890
  --> https://bugs.kde.org/attachment.cgi?id=114890&action=edit
patches for wine64 and pdbs

The attached patches get wine64 with pdbs working.  I'm sure additional patches
will be needed, but it's a start.

The attached leakage.c produces the following output on 64-bit Wine with these
changes:
==689== 12,345 bytes in 1 blocks are definitely lost in loss record 70 of 71
==689==    at 0x7BC5ACCD: initialize_block (heap.c:238)
==689==    by 0x7BC5ACCD: RtlAllocateHeap (???:0)
==689==    by 0x140006C0A: a (leakage.c:9)
==689==    by 0x140006C28: b (leakage.c:14)
==689==    by 0x140006C48: c (leakage.c:19)
==689==    by 0x140006D28: main (leakage.c:43)
==689== 
==689== 23,456 bytes in 1 blocks are possibly lost in loss record 71 of 71
==689==    at 0x7BC5ACCD: initialize_block (heap.c:238)
==689==    by 0x7BC5ACCD: RtlAllocateHeap (???:0)
==689==    by 0x140006CBC: setframe (leakage.c:28)
==689==    by 0x140006CE8: d (leakage.c:33)
==689==    by 0x140006D08: e (leakage.c:38)
==689==    by 0x140006D3C: main (leakage.c:44)

leakage.c built 32-bit with pdb fails with and without my changes.  But with
the attached, both 32-bit and 64-bit Wine tests still run under valgrind.

Tested with the following:
- Visual Studio 2017 (15.8.3) (Optimizing Compiler Version 19.15.26726 for x64)
- Wine 3.15
- valgrind-3.14.0.GIT (097b2076013bd6082be189ab55dbdb2eb1e572b7)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to