SWDEV-502248 - Parse file path with space characters
Signed-off-by: Tim Gu <Tim.Gu@amd.com>
Change-Id: I67fb9cf5559c9c06f24627a1b25fec3e89b2d1cf
[ROCm/clr commit: 84a867fb73]
This commit is contained in:
@@ -820,8 +820,8 @@ bool amd::Os::FindFileNameFromAddress(const void* image, std::string* fname_ptr,
|
||||
tokens >> permissions
|
||||
>> std::hex >> offset >> std::dec
|
||||
>> device
|
||||
>> inode
|
||||
>> uri_file_path;
|
||||
>> inode;
|
||||
std::getline(tokens >> std::ws, uri_file_path);
|
||||
|
||||
if (inode == 0 || uri_file_path.empty()) {
|
||||
return ret_value;
|
||||
|
||||
Reference in New Issue
Block a user