13 lines · plain
1; RUN: llc --compile-twice -mtriple=x86_64-pc-win32 -filetype=obj < %s2 3; UAF when re-using the MCObjectWriter. does not leak into the output,4; but should be detectable with --compile-twice under ASAN or so.5 6define weak void @foo() nounwind {7 ret void8}9 10define weak void @bar() nounwind {11 ret void12}13