[PATCH] D79140: [ThinLTO] return error instead of crashing on invalid input

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 12:28:01 PST 2023


MaskRay added inline comments.


================
Comment at: lld/test/ELF/stale-profile-error.ll:1
+; RUN: split-file %s %t
+; RUN: llvm-as %t/size1.ll -o %t/size1.bc
----------------
Move this to `lto/` and add `REQUIRES: x86`


================
Comment at: lld/test/ELF/stale-profile-error.ll:7
+
+; Test module flags error messages.
+; CHECK: linking module flags 'foo': IDs have conflicting values in '{{.*}}size2.bc' and 'ld-temp.o'
----------------
Use `;;` for non-RUN non-CHECK comments in lld/test/.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79140/new/

https://reviews.llvm.org/D79140



More information about the llvm-commits mailing list