[all-commits] [llvm/llvm-project] 5bb514: Revert [CodeView] Emit S_OBJNAME record

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Dec 21 16:02:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f
      https://github.com/llvm/llvm-project/commit/5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f
  Author: Alexandre Ganea <alexandre.ganea at legionlabs.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Job.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CMakeLists.txt
    R clang/test/CodeGenCXX/debug-info-objname.cpp
    M llvm/include/llvm/MC/MCTargetOptions.h
    M llvm/include/llvm/Support/Caching.h
    M llvm/include/llvm/Support/ToolOutputFile.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Support/Caching.cpp
    M llvm/test/DebugInfo/COFF/globals.ll
    M llvm/test/DebugInfo/COFF/multifunction.ll
    M llvm/test/DebugInfo/COFF/pr28747.ll
    M llvm/test/DebugInfo/COFF/simple.ll
    M llvm/test/DebugInfo/COFF/vframe-fpo.ll
    M llvm/test/MC/AArch64/coff-debug.ll
    M llvm/test/MC/ARM/coff-debugging-secrel.ll
    M llvm/test/MC/COFF/cv-compiler-info.ll
    M llvm/tools/llc/llc.cpp
    M llvm/tools/llvm-lto2/llvm-lto2.cpp

  Log Message:
  -----------
  Revert [CodeView] Emit S_OBJNAME record

Also revert all subsequent fixes:
- abd1cbf5e543f0f114d2742e109ead7d7ddbf9c4 [Clang] Disable debug-info-objname.cpp test on Unix until I sort out the issue.
- 00ec441253048f5e30540ea26bb0a28c42a5fc18 [Clang] debug-info-objname.cpp test: explictly encode a x86 target when using %clang_cl to avoid falling back to a native CPU triple.
- cd407f6e52b09cce2bef24c74b7f36fedc94991b [Clang] Fix build by restricting debug-info-objname.cpp test to x86.


  Commit: a282ea4898efe2b2e57a93b44e90c9e497520cfb
      https://github.com/llvm/llvm-project/commit/a282ea4898efe2b2e57a93b44e90c9e497520cfb
  Author: Alexandre Ganea <alexandre.ganea at legionlabs.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Job.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CMakeLists.txt
    A clang/test/CodeGenCXX/debug-info-objname.cpp
    M llvm/include/llvm/MC/MCTargetOptions.h
    M llvm/include/llvm/Support/Caching.h
    M llvm/include/llvm/Support/ToolOutputFile.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Support/Caching.cpp
    M llvm/test/DebugInfo/COFF/globals.ll
    M llvm/test/DebugInfo/COFF/multifunction.ll
    M llvm/test/DebugInfo/COFF/pr28747.ll
    M llvm/test/DebugInfo/COFF/simple.ll
    M llvm/test/DebugInfo/COFF/vframe-fpo.ll
    M llvm/test/MC/AArch64/coff-debug.ll
    M llvm/test/MC/ARM/coff-debugging-secrel.ll
    M llvm/test/MC/COFF/cv-compiler-info.ll
    M llvm/tools/llc/llc.cpp
    M llvm/tools/llvm-lto2/llvm-lto2.cpp

  Log Message:
  -----------
  Reland - [CodeView] Emit S_OBJNAME record

Reland integrates build fixes & further review suggestions.

Thanks to @zturner for the initial S_OBJNAME patch!

Differential Revision: https://reviews.llvm.org/D43002


Compare: https://github.com/llvm/llvm-project/compare/0e9393f5221c...a282ea4898ef


More information about the All-commits mailing list