Open sdconsta opened 6 years ago
The DR build itself only uses Debug or RelWithDebInfo, collapsing the other Rel* together, but a client doesn't run that collapsing code and DynamoRIOConfig.cmake should support what the client is using. So this is a bug.
This issue builds off of my comments here: https://github.com/DynamoRIO/drmemory/issues/2075
When using
DynamoRIO_RPATH
on Windows, thedrpath_file
's location is computed using_DR_location_suffix
(see here and here). Hence thedrpath_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?