[PATCH] D112124: [ThinLTO] Append original object file name to ThinLTO generated object file's name, so that it can be recorded in link map file.

Xu ShuangQing via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 20 06:06:13 PDT 2021


xushuangqing updated this revision to Diff 380924.
xushuangqing added a comment.

Update unit test case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112124

Files:
  llvm/test/ThinLTO/X86/save_objects.ll


Index: llvm/test/ThinLTO/X86/save_objects.ll
===================================================================
--- llvm/test/ThinLTO/X86/save_objects.ll
+++ llvm/test/ThinLTO/X86/save_objects.ll
@@ -21,7 +21,7 @@
 ; RUN: ls %t.cache | count 3
 
 ; Check the name of object in directory has arch name included.
-; RUN: ls %t.thin.out | grep x86_64.thinlto.o | count 2
+; RUN: ls %t.thin.out | grep "x86_64\..*thinlto\.o" | count 2
 
 
 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112124.380924.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211020/9d2a57ab/attachment.bin>


More information about the llvm-commits mailing list