Skip to content

clang generates invalid debug symbols #163800

@kelbon

Description

@kelbon

steps to reproduce:

https://github.com/kelbon/clinok

build with CLINOK_ENABLE_EXAMPLES=ON and run example in debugger (i reproduced on Windows + vs code)

examples/main.cpp:30

 cli::options opt = cli::parse(argc, argv, ec);

goes into

include/clinok/cli.hpp:413, where debugger segfaults due invalid symbols

I'm not competent enough to say which specific symbol is incorrect, but incorrect debug symbols are the most likely scenario for why this happens, given what the code does with #include

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangClang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions