[PATCH] D55074: [PDB] Quote linker arguments containing spaces (mimic MSVC)
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 29 14:12:21 PST 2018
aganea added a comment.
Yes I did - I've also tried piggybacking the result from the PDB on the command-line and it generates the same PDB.
aganea at PC MINGW64 /f/svn/lld
$ py /f/svn/build/bin/llvm-lit.py -vv test/COFF/pdb-linker-module.test
-- Testing: 1 tests, 1 threads --
PASS: lld :: COFF/pdb-linker-module.test (1 of 1)
Testing Time: 0.33s
Expected Passes : 1
$ "F:\svn\build\bin\llvm-pdbutil.EXE" "dump" -modi=1 -symbols "F:\svn\build\tools\lld\test\COFF\Output\pdb-linker-module.test.tmp.pdb"
Symbols
============================================================
Mod 0001 | `* Linker *`:
4 | S_OBJNAME [size = 20] sig=0, `* Linker *`
24 | S_COMPILE3 [size = 40]
machine = intel 80386, Ver = LLVM Linker, language = link
frontend = 0.0.0.0, backend = 14.10.25019.0
flags = none
64 | S_ENVBLOCK [size = 376]
- cwd
- F:\svn\build\tools\lld\test\COFF
- exe
- F:\svn\build\bin\lld-link.exe
- pdb
- F:\svn\build\tools\lld\test\COFF\Output\pdb-linker-module.test.tmp.pdb
- cmd
- /debug /pdb:F:\svn\build\tools\lld\test\COFF\Output\pdb-linker-module.test.tmp.pdb /nodefaultlib "/entry:1 ""hello"" 2" "/manifestuac:level='asInvoker' uiAccess='false'" F:\svn\lld\test\COFF/Inputs/pdb-diff.obj /force
440 | S_SECTION [size = 28] `.text`
length = 10, alignment = 12, rva = 4096, section # = 1
characteristics =
code
execute permissions
read permissions
468 | S_SECTION [size = 28] `.rdata`
length = 123, alignment = 12, rva = 8192, section # = 2
characteristics =
initialized data
read permissions
496 | S_SECTION [size = 28] `.data`
length = 4, alignment = 12, rva = 12288, section # = 3
characteristics =
initialized data
read permissions
write permissions
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55074/new/
https://reviews.llvm.org/D55074
More information about the llvm-commits
mailing list