diff options
author | Miguel A. Arroyo <miguel.arroyo@rockstargames.com> | 2025-05-23 12:58:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-23 12:58:56 -0700 |
commit | 795e88903721e89e105338e1dd464a834156aac7 (patch) | |
tree | f2f49adf9061e5f58e04c11ae0e6fbc38ef147b4 /clang/lib/Format/FormatTokenLexer.cpp | |
parent | e100f54a0342c2c44974b34254eebf23b8a6339c (diff) | |
download | llvm-795e88903721e89e105338e1dd464a834156aac7.zip llvm-795e88903721e89e105338e1dd464a834156aac7.tar.gz llvm-795e88903721e89e105338e1dd464a834156aac7.tar.bz2 |
[Clang][CMake][MSVC] Install PDBs alongside executables (#126961)
Fixes the changes introduced in
https://github.com/llvm/llvm-project/pull/126675 and subsequently
reverted by https://github.com/llvm/llvm-project/pull/126934 .
Originally, I mistakenly put the `install` in the wrong location (should
have been in the `add_clang_tool` macro) which slipped through testing.
I've verified locally using the same CMake configure options.
For reference:
* **CMake Configure**
```
cmake -B build -S llvm -GNinja -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;compiler-rt" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PDB=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl
```
* **Error**
```
TARGET_PDB_FILE is allowed only for targets with linker created artifacts.
```
Diffstat (limited to 'clang/lib/Format/FormatTokenLexer.cpp')
0 files changed, 0 insertions, 0 deletions