DynamoRIO / DynamoRIO/dynamorio
DynamoRIO_RPATH requires Debug or RelWithDebInfo?
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
This issue builds off of my comments here: https://github.com/DynamoRIO/drmemory/issues/2075
When using `DynamoRIO_RPATH` on Windows, the `drpath_file`'s location is computed using `_DR_location_suffix` (see [here](https://github.com/DynamoRIO/dynamorio/blob/13e4f95ec878c3f3adbb8a241c40636865d0e363/make/DynamoRIOConfig.cmake.in#L1176) and [here](https://github.com/DynamoRIO/dynamorio/blob/13e4f95ec878c3f3adbb8a241c40636865d0e363/make/DynamoRIOConfig.cmake.in#L321)). Hence the `drpath_file` can only be used when the build type is Debug or RelWithDebInfo, because these are the only possible values for `_DR_location_suffix`. Is there any reason why it shouldn't be possible to build a Release when using relative paths?
Contributor guide
Assessment
This issue has not been assessed yet.