[PATCH] D117321: [clang] Remap file path in __PRETTY_FUNCTION__

2022-01-17 Thread David Blaikie via Phabricator via cfe-commits
dblaikie added a comment. This seems like patching a hole, but maybe something more fundamental should be done if this remapping is meant to apply to all path rendering? (presumably there could be other bugs where these callbacks aren't applied - so is there somewhere lower level that this issu

[PATCH] D117321: [clang] Remap file path in __PRETTY_FUNCTION__

2022-01-14 Thread Jyun-Yan You via Phabricator via cfe-commits
jyyou.tw created this revision. jyyou.tw requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. __PRETTY_FUNCTION__ may have file path in template argument but -fmacro-prefix-map can't remap it. This patch tries to fix the problem. Repository: