Issue 128598
Summary DirectX codegen tests failing when ran under hwasan
Labels new issue
Assignees
Reporter Icohedron
    After the merging of a PR (#128556) fix to DirectX build breaks, 28 DirectX tests are failing when ran under my hwasan build of this PR's branch.
See this log: https://gist.github.com/Icohedron/54739cbd0ab952d666bf376e76c9bb85

Similar to issue #124045, it appears to be related to the use of `-o /dev/null` with `llc`
```
/workspace/llvm-project/build/bin/llc /workspace/llvm-project/llvm/test/CodeGen/DirectX/BufferStore-errors.ll -o /dev/null 2>&1
error: <unknown>:0:0: in function storetoomany void (<5 x float>, i32): typedBufferStore data must be a vector of 4 elements

error: <unknown>:0:0: in function storetoofew void (<3 x i32>, i32): typedBufferStore data must be a vector of 4 elements

pure virtual method called
terminate called without an active exception
Aborted
```
Replacing `-o /dev/null` with `-o -` makes the tests pass.

This is odd because @vitalybuka supposedly patched a similar issue w.r.t. a SPIRV codegen error test (see https://github.com/llvm/llvm-project/pull/125599#discussion_r1966650839 )
 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to