summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2024-01-07 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2024-01-07 12:00:00 +0000
commit9cb36140078d3f461bcc8267d10f8a4a3d9d85b8 (patch)
treef34ee6c3a5866f3930db3618525687208110bc81 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentbd645e8668ec6612439a9ee7e71f7eac4099d4f6 (diff)
gcc: prevent runtime references via __FILE__ but in a reversible manner
the mangling done by mangle-NIX_STORE-in-__FILE__.patch also applies to source paths embedded in debug symbols. When putting a breakpoint in a template instanciation from another lib, the path that gdb looks for is therefore mangled (/nix/store/eeeeeee;...-the-lib-dev/include/foo.h) This severely degrades the debugging experience. To alleviate that, it's possible to make the mangling reversible: a debuginfod server can then reverse the mangling. I plan to implement that in nixseparatedebuginfod. The reversible mangling that was chosen in making the hash of the store path uppercase.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions