[llvm] Strip the full path from __FILE__ in the LDBG macro and keep only the filename (PR #150677)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 06:50:25 PDT 2025
joker-eph wrote:
@RKSimon ouch! I don't have a windows machine, I assume this is need to debug this?
What kind of build is this? DEBUG? RELEASE? RELEASE+ASSERT? Did you try with a clean build?
I looked at some windows bots but they don't seem to be affected (e.g. My change on this bot: https://lab.llvm.org/buildbot/#/builders/63/builds/8184 ), but it's always to tell with incremental builds.
This change has two components:
1) The CMake change which adds an extra compilation flag (macro definition) to each compiler invocation: this will invalidate the cache of your builders. So it is expected that there is a one-off costly build if you rely on caching.
2) The code change: but this is a new header (1 week old) that is only used in MLIR so far, so this shouldn't affect anything).
https://github.com/llvm/llvm-project/pull/150677
More information about the llvm-commits
mailing list