aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-08-11 20:46:47 +0000
committerZachary Turner <zturner@google.com>2017-08-11 20:46:47 +0000
commitf6822c869c70718573deaeb374337ba869341a42 (patch)
treeb9d5367d633a554e765abf6da3247c1b4d369746 /llvm/lib/Object/ELFObjectFile.cpp
parent28e31ee45e63d7c195e7980c811a15f0b26118cb (diff)
downloadllvm-f6822c869c70718573deaeb374337ba869341a42.zip
llvm-f6822c869c70718573deaeb374337ba869341a42.tar.gz
llvm-f6822c869c70718573deaeb374337ba869341a42.tar.bz2
[pdb] Fix linker module symbols to work with dbgeng.
The linker module contains a symbol of type S_COMPILE3 which contains various information about the compiler and linker used to create the PDB, such as the name of the linker, the target machine, and the linker version. Interestingly, if we set the version string to 0.0.0.0, then when trying to view local variables WinDbg emits an error that private symbols are not present. By setting this to a valid MSVC linker version string, local variables can display. As such, even though it is not representative of LLVM's version information, we need this for compatibility. llvm-svn: 310755
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions