backward-cpp v1.5 Release Notes

Release Date: 2020-04-14 // almost 4 years ago
  • Summary of changes in no particular order.

    Arnaud Botella (1):

      Update BackwardConfig.cmake
    

    David P. Sicilia (5):

      Allow specifying list of source file search paths in environment variable.
    
      This is useful for binaries (using backward-cpp) that are built with
      relative source file paths. In such a situation, backward-cpp will
      generally not be able to locate the source files. This change allows
      the user to specify a delimited list of search paths in the following
      environment variable: BACKWARD_CXX_SOURCE_PREFIXES
    
      The paths are separated by semicolons on Windows and colons otherwise.
      When the environment variable is set, those search paths will be tried
      first. If they do not yield any valid files then backward-cpp will
      fall back to current behavior.
    
      Address some reviewer comments:
      Use const char[] for delimiter string instead of macro.
      Put delimiter string into `backward::details` namespace.
    

    Evan Klitzke (2):

      fix a memory leak when __cxa_demangle reallocs
      fix bad pointer comparison in libdwarf backend
    

    Forrest Voight (3):

      Extracted duplicated code for `get_argv0` and `read_symlink`
      Handle executable being deleted or replaced by directly opening `/proc/self/exe` rather than file it links to. Fixes issue #146.
      Call std::getline with an lvalue std::ifstream rather than an rvalue. Older libstdc++ versions (e.g. 4.8.2) don't have the rvalue overload of std::getline. This fixes this error when compiled with libstdc++ 4.8.2:
    

    Jiaxun Yang (1):

      Add mips support
    

    John Salmon (2):

      Improve portability to non-glibc Linux systems
      StackTraceImpl::operator[] is const
    

    Marco Magdy (2):

      Add missing ref qualifier
      squash! Add missing ref qualifier to the other overload
    

    Michael Truog (2):

      Fix compilation for GCC (tested with 5.4.0)
      Fix for binutils 2.34
    

    Michal Rostecki (1):

      cmake: Use GNUInstallDirs for libdir and includedir
    

    Nikos Skalkotos (1):

      Fix unknown pragma warning in gcc
    

    Pierre Kestener (3):

      check if compiler is nvcc/nvcc_wrapper to trigger off cxx gnu extensions and pedantic error flags
      Merge branch 'master' of https://github.com/bombela/backward-cpp into nvcc_wrapper
      make sure to detect nvcc compiler even if used embedded in mpi compiler wrapper
    

    Zsolt Parragi (4):

      Build tests by default when backward is a top level project
      Use a macro instead of direct noinline attributes.
      Making tests less platform dependent.
      Windows (Clang9, MSVC2017) implementation
    

Previous changes from v1.4

  • 🐎 A bunch of updates, like better supports for cmake and conan. Small bug fixes. Various performance improvement. Support of ostream. Compilation with all sort of pedantic option turned on.