Issue 91726
Summary [diagtool] diagtool gives different output on Windows and run into an exception
Labels new issue
Assignees
Reporter sivan-shani
    What code / commands /steps will reproduce the problem?
Run diagtool on Windows:
`../build-clang/bin/diagtool.exe tree --internal > out.diagtool.tree.1`

What is the expected result?
- same output as on Linux/Mac
- no exception
[out.diagtool.tree.json](https://github.com/llvm/llvm-project/files/15274224/out.diagtool.tree.json)
[out.diagtool.tree-win.json](https://github.com/llvm/llvm-project/files/15274225/out.diagtool.tree-win.json)

What [out.diagtool.tree.1](https://github.com/secure/attachment/1276953/1276953_out.diagtool.tree.1)happens instead?
- output is different (see attached output)
- getting exception:
`Assertion failed: !KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!", file C:\Users\sivsha01\testing\src\llvm-project\llvm\include\llvm/ADT/DenseMap.h, line 651`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to