mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
This prevents them from being inlined. On gcc 9, this reduces the
stack size needed for
nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-full --dry-run
from 12.9 MiB to 4.8 MiB.
(cherry picked from commit cb90e382b5)
14 lines
192 B
C++
14 lines
192 B
C++
#pragma once
|
|
|
|
#include "eval.hh"
|
|
#include <sys/time.h>
|
|
|
|
namespace nix {
|
|
|
|
struct FunctionCallTrace
|
|
{
|
|
const Pos & pos;
|
|
FunctionCallTrace(const Pos & pos);
|
|
~FunctionCallTrace();
|
|
};
|
|
}
|