1. 42
  1. 5

    This might be quite fragile. Recent bump of llvm version brought new dwarf version that ‘broke’ many tools (eg. valgrind).

    Regardless, this is super cool!

    1. 2

      Would this implementation work in the face of LTO which folds functions with identical ASM into single definitions? The main thing I’m thinking of is MSVC’s Identical COMDAT Folding (although that isn’t specifically a concern given this doesn’t work on Windows currently).

      1. 1

        Awesome and cool! Did you consider having a build script that generates the debug info so it will be cross-platform?

        1. 1

          Those looking for other routes to runtime reflection might be intrigued by valuable, although I’m not sure how actively maintained it is.