diff options
| author | Mehdi Amini <joker.eph@gmail.com> | 2025-08-07 17:56:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 17:56:54 +0200 |
| commit | d95433bc8131e6c9f175c82f7b26e789084a347f (patch) | |
| tree | 3d5fb635a84ccd4876be99be9c924dfdafcc790f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3fbb553f7d31329212b658cca5b9eb5dae4e91b2 (diff) | |
Remove __SHORT_FILE__ macro definition in CMake (#152344)
This per-file macro definition on the command line breaks caching of
modules. See discussion in #150677
Instead we use a constexpr function that processes the __FILE__ macro,
but prefer also the __FILE_NAME__ macro when available (clang/gcc) to spare
compile-time in the frontend.
If the constexpr function isn't const-evaluated, it'll be only evaluated when
printing the debug message.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
