Displaying 4 results from an estimated 4 matches for "5f82bb79fe2da0b0549b784cfdc37d05".
2020 Jan 09
3
LLD PDB Lines zero number issue
...ap
$ make -f makefile_clanglto_Oz
$ llvm-pdbutil dump -l main.pdb
Lines
============================================================
Mod 0000 | `assembly.obj`:
Mod 0001 | `/home/jshi19/llvm/wrongcode/lld-link5/lto.tmp`:
/home/jshi19/llvm/wrongcode/lld-link5/main.c (MD5: 5F82BB79FE2DA0B0549B784CFDC37D05)
0001:00000004-0000001E, line/addr entries = 5
3 00000004 ! 0 00000008 ! 5 0000000D ! 0 00000012 ! 9 00000017 !
If we disable the optimization in the CC_FLAGS with -O0 as below, the PDB Lines will become correct non-zero numbers.
CC_FLAGS= -g -m64 -mcmodel=small -target x86_64...
2020 Jan 14
2
LLD PDB Lines zero number issue
...see that there are line zeros in the pdb file:
$ llvm-pdbutil" dump -l main.pdb
Lines
============================================================
Mod 0000 | `/home/jshi19/llvm/wrongcode/lld_PDB_issue/main.obj`:
/home/jshi19/llvm/wrongcode/lld_PDB_issue/main.c (MD5: 5F82BB79FE2DA0B0549B784CFDC37D05)
0001:00000000-0000001A, line/addr entries = 5
3 00000000 ! 0 00000004 ! 5 00000009 ! 0 0000000E ! 9 00000013 !
Thanks
Shi, Steven
From: Zachary Turner <zturner at roblox.com>
Sent: Tuesday, January 14, 2020 2:56 AM
To: Shi, Steven <steven.shi at intel.com>
Cc: Mar...
2020 Jan 12
2
LLD PDB Lines zero number issue
...86_64-linux-gnu-ubuntu-18.04/bin/llvm-pdbutil dump -l main.pdb
Lines
============================================================
Mod 0000 | `assembly.obj`:
Mod 0001 | `/home/jshi19/llvm/wrongcode/lld-link5/lto.tmp`:
/home/jshi19/llvm/wrongcode/lld-link5/main.c (MD5: 5F82BB79FE2DA0B0549B784CFDC37D05)
0001:00000004-0000001E, line/addr entries = 5
3 00000004 ! 0 00000008 ! 5 0000000D ! 0 00000012 ! 9 00000017 !
Thanks
Steven Shi
> -----Original Message-----
> From: Martin Storsjö <martin at martin.st<mailto:martin at martin.st>>
> Sent: Frid...
2020 Jan 09
2
LLD PDB Lines zero number issue
On Thu, 9 Jan 2020, David Blaikie via llvm-dev wrote:
> +rnk who works on COFF debugging things.
>
> My understanding is that this has nothing to do with the linker - but is a
> function of LLVM optimizations creating line zero debug locations. I believe
> rnk & folks have disabled line zero emission for CodeView debug info in some
> manner - perhaps that needs a flag? or