[PATCH] D107393: Apply -fmacro-prefix-map to __builtin_FILE()

Pavel Asyutchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 12:15:43 PDT 2021


Svenny added a comment.

Great! My commit author string is `Pavel Asyutchenko <sventeam at yandex.ru>`.

I have an even uglier hack to work around this: to offset the value of `__builtin_FILE()` by compile-time calculated location of some known substring like `src` or `include`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107393/new/

https://reviews.llvm.org/D107393



More information about the llvm-commits mailing list