diff options
author | Ben Wolsieffer <lopsided98@users.noreply.github.com> | 2018-09-24 16:57:38 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-24 22:57:38 +0200 |
commit | da18634eff4d8a49e9105c84b15dd139c47c1fc1 (patch) | |
tree | 8355ee5689d22bfaec864e3215192a2b64ef246f /pkgs/development/tools/analysis/valgrind | |
parent | 3a09a4b579612828277fa4b2c0e7cf84c16b3edf (diff) |
valgrind: enable debug info (#47251)
At least on ARM, valgrind produces no stack trace unless debug info is available for its own libraries.
Diffstat (limited to 'pkgs/development/tools/analysis/valgrind')
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 5734a0f279535..ccc2cf9b4ab5a 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { buildInputs = [ perl gdb ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ]; enableParallelBuilding = true; + separateDebugInfo = stdenv.isLinux; preConfigure = stdenv.lib.optionalString stdenv.isDarwin ( let OSRELEASE = '' |