Skip to content
  • Stephen Kelly's avatar
    Genex: Store a backtrace, not a pointer to one. · fc1c7cf8
    Stephen Kelly authored
    The storage of a pointer means that the ownership and lifetime are
    externally determined, which is harder to reason about. It also imposes
    API constraints, requiring APIs to return references to backtraces.
    
    This pointer storage was introduced in commit v3.1.0-rc1~425^2~3 (genex:
    remove the need for backtraces, 2014-05-23).  As backtraces are now cheap
    to copy around, just do that instead.
    fc1c7cf8