[all-commits] [llvm/llvm-project] e44795: [NFC] Fix order of initialization in MCTargetOptions

Andrew Savonichev via All-commits all-commits at lists.llvm.org
Tue Apr 26 12:34:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4479504837306ec997ad87a2ce2e0e81c62a539
      https://github.com/llvm/llvm-project/commit/e4479504837306ec997ad87a2ce2e0e81c62a539
  Author: Andrew Savonichev <andrew.savonichev at gmail.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/MC/MCTargetOptions.cpp

  Log Message:
  -----------
  [NFC] Fix order of initialization in MCTargetOptions

This patch fixes a compiler warning after D121299:

field 'MCUseDwarfDirectory' will be initialized after field
'MCIncrementalLinkerCompatible'


  Commit: 8628b54038e95c48ee6dd6e4e9696eddea02e691
      https://github.com/llvm/llvm-project/commit/8628b54038e95c48ee6dd6e4e9696eddea02e691
  Author: Andrew Savonichev <andrew.savonichev at gmail.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll

  Log Message:
  -----------
  [NVPTX] Temporary disable dwarf-file-dir.ll on Windows

The test was added in D121299 and it fails on Windows:

    error: CHECK-NODIR: expected string
    not found in input
    ; CHECK-NODIR: .file {{[0-9]+}} "/tmp/dbginfo/a/a.cpp"
		   ^
    <stdin>:1:1: note: scanning from here
    //
    ^
    <stdin>:25:2: note: possible intended match here
     .file 1 "/tmp/dbginfo/a\\a.cpp"


Compare: https://github.com/llvm/llvm-project/compare/5ee0123642fe...8628b54038e9


More information about the All-commits mailing list