[PATCH] D113190: [llvm] Inclusive language: replace master with main in file paths in LIT tests

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 07:36:42 PDT 2021


bjope added a comment.

Suggesting some edits (there shouldn't be a need to have a DIFile directory path (at least not in some of those test cases). So I think it is better to clean it up a bit more if touching those test cases.



================
Comment at: llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir:60
   !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 6.0.0 (trunk 313866) (llvm/trunk 313875)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
-  !3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/master")
+  !3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/main")
   !4 = !{}
----------------



================
Comment at: llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg.mir:58
   !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 6.0.0 (trunk 313866) (llvm/trunk 313875)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
-  !3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/master")
+  !3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/main")
   !4 = !{}
----------------



================
Comment at: llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll:144
 !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trunk 327229) (llvm/trunk 327239)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !5, globals: !7)
-!3 = !DIFile(filename: "sdag-dangling-dbgvalue.c", directory: "/repo/uabbpet/llvm-master")
+!3 = !DIFile(filename: "sdag-dangling-dbgvalue.c", directory: "/repo/uabbpet/llvm-main")
 !4 = !{}
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113190



More information about the llvm-commits mailing list