<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63800>63800</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Incorrect position of generated simple_version_script.map when using multi-config generator
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ur4t
</td>
</tr>
</table>
<pre>
When using multi-config generator like `cmake -G "Ninja Multi-Config"` to build `libLLVM.so`, `lld` complains `error: cannot find version script /home/builder/llvm-project/build/Debug/lib/tools/llvm-shlib/simple_version_script.map`.
Actually generated `simple_version_script.map` is `/home/builder/llvm-project/build/${CONFIGURATION}/lib/tools/llvm-shlib/simple_version_script.map`.
Contents of generated `${CONFIGURATION}` directory:
``` Console
${CONFIGURATION}
└── lib
├── Debug
├── Release
├── RelWithDebInfo
└── tools
└── llvm-shlib
└── simple_version_script.map
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVF1rpDAU_TXxJVRi1KgPPkxn1jLQDyi728cS9appYyJJbOm_X6Iz3R3abruwIBLuPecmJ_eecGtFrwBKlJ6jdBfw2Q3alLNJXFDr9qW8G0Dh2QrV43GWTpw1WnWixz0oMNxpg6V4BIwYaUb-CPjsAiNKr4V64PhqIWwXAqIUMYKdxvUsZOsJUtSXlz-vQqsRI4hul5hsPazR4yS5UNbHwBhtULzBDVdKO9wJ1eInMFZohW1jxOQwotWgR0C0WsqDQbSS8mk8m4x-gMYdE4hWO6jn3qdFjWjltJb2CLbDGrRinCTcH_a4X_cIRz4hRkJEdohs1v-mcTOX8uV4HbAI-xsdi0XTP5wX0QRl59ub62p_8eN2831_c42y3X8SsNXKgXIW6-5Uwwe7MoJbYaBx2ryg-FDEw5cPb7WyWsIh_H6JNfeNoiLx37rIyesCewkLCGOMj8DtO8C1k1-C3oIEbuHL4Dvhhh3Ue9Xpt5z3Dr224RX6GfyPbp1wPuN93NjTTgRtGbdFXPAAyojlBckyymgwlC2QqOAxSWnOGEmjvC2ihuV5zesUCsYCUVJCY5JFUURJltCQRlHc1VmXszSK4qRDCYGRCxl6DaE2fSCsnaFkcU5IIHkN0i7PCaUKnvGS9O5Pd4EpF9313FuUECmss7-rOOEklHvVaOMHDE_aCuctfjKaH14Afv7spQpmI8vBucn6yfXGqnrhhrkOGz0eHPTWhsv5vcEWfb8CAAD__yB6jLE">