this seems like a bug in either clang or nim. Ideally if you don't pass "debugger:native" to nim then nim would instruct clang not to emit debug info.
It may be that clang's debug info generation rules are "odd" when using clang.exe (not clang-cl, i.e. clang with the gnu command line) in msvc-abi mode.
