[llvm] Object: Don't error out on malformed bitcode files. (PR #96848)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 20:32:38 PDT 2024
================
@@ -9,37 +10,52 @@
# RUN: llvm-as input.ll -o input.bc
# RUN: cp input.bc good.bc
# RUN: %python -c "with open('input.bc', 'a') as f: f.truncate(10)"
-# RUN: not llvm-ar rc bad.a input.bc 2>&1 | FileCheck %s --check-prefix=ERR1
+# RUN: llvm-ar rc bad.a input.bc 2>&1 | FileCheck %s --check-prefix=WARN1
----------------
pcc wrote:
Yeah, I had done the second part but not the first. Done now.
https://github.com/llvm/llvm-project/pull/96848
More information about the llvm-commits
mailing list