SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Revert "Attempt to fix Go syntax error" (details)
  2. Revert "Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot" (details)
  3. Move the sysroot attribute from DIModule to DICompileUnit (details)
Commit 94dd096f35a2fc61a1fe67e676e342452000141a by Adrian Prantl
Revert "Attempt to fix Go syntax error"
This reverts commit c0176916a4824812d25a5a22c4ff7c95857b0cd6.
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
Commit c17aee67f1007426fb12f4081183bb8ec5dc3d15 by Adrian Prantl
Revert "Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot"
This reverts commit 12e479475a896f664fb721f98c2d6805185ac352.
I accidentally landed this patch with the wrong commit message ...
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was removedllvm/test/DebugInfo/X86/split-dwarf-sysroot.ll
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/test/DebugInfo/X86/DIModule.ll
The file was modifiedllvm/test/DebugInfo/X86/DIModuleContext.ll
The file was modifiedllvm/test/Assembler/dimodule.ll
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedclang/test/Modules/debug-info-moduleimport.m
The file was modifiedllvm/test/Assembler/dicompileunit.ll
The file was modifiedclang/test/CodeGen/debug-nvptx.c
The file was modifiedllvm/test/DebugInfo/X86/clang-module.ll
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/CodeGen/X86/load-combine-dbg.ll
The file was removedclang/test/CodeGen/debug-info-sysroot.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
Commit 7b30370e5bcf569fcdc15204d4c592163fd78cb3 by Adrian Prantl
Move the sysroot attribute from DIModule to DICompileUnit
[this re-applies c0176916a4824812d25a5a22c4ff7c95857b0cd6
with the correct commit message and phabricator link]
This addresses point 1 of PR44213.
https://bugs.llvm.org/show_bug.cgi?id=44213
The DW_AT_LLVM_sysroot attribute is used for Clang module debug info, to
allow LLDB to import a Clang module from source. Currently it is part of
each DW_TAG_module, however, it is the same for all modules in a compile
unit. It is more efficient and less ambiguous to store it once in the
DW_TAG_compile_unit.
This should have no effect on DWARF consumers other than LLDB.
Differential Revision: https://reviews.llvm.org/D71732
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was addedclang/test/CodeGen/debug-info-sysroot.c
The file was addedllvm/test/DebugInfo/X86/split-dwarf-sysroot.ll
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/Modules/debug-info-moduleimport.m
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/DIModuleContext.ll
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/test/Assembler/dicompileunit.ll
The file was modifiedllvm/test/DebugInfo/X86/clang-module.ll
The file was modifiedllvm/test/Assembler/dimodule.ll
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was modifiedllvm/test/DebugInfo/X86/DIModule.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/CodeGen/X86/load-combine-dbg.ll
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedclang/test/CodeGen/debug-nvptx.c
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp