Issue 163800
Summary clang generates invalid debug symbols
Labels clang
Assignees
Reporter 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
```cpp
 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`

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to