[all-commits] [llvm/llvm-project] 833681: Use %errc to get text for system errors (#109852)

Sean Perry via All-commits all-commits at lists.llvm.org
Thu Sep 26 11:11:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83368191a21340a6c3a8f88b01ecae6433640957
      https://github.com/llvm/llvm-project/commit/83368191a21340a6c3a8f88b01ecae6433640957
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M clang/test/Driver/cl-options.c
    M clang/test/Driver/cl-zc.cpp
    M clang/test/Driver/config-file-errs.c
    M clang/test/Driver/response-file-errs.c
    M llvm/test/Support/interrupts.test
    M llvm/test/tools/dsymutil/X86/remarks-linking-archive.text
    M llvm/test/tools/gold/X86/stats-file-option.ll
    M llvm/test/tools/llvm-ar/read-only-archive.test
    M llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test

  Log Message:
  -----------
  Use %errc to get text for system errors (#109852)

Several lit tests look for messages with text generated from strerror()
such as "no such file or directory". The value can change slightly from
system to system. Use the llvm-lit macro `%errc_<ERRCODE>` instead.

This was really noticable on z/OS because the generated text includes an
error code as well as the text.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list