SuccessChanges

Summary

  1. [lldb] Run the shell test for Xcode's standalone build (details)
Commit 825fd83864cbe6446d7ece5c046e2eb3ee1d89b0 by Jonas Devlieghere
[lldb] Run the shell test for Xcode's standalone build
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-standalone (diff)
The file was modifiedzorg/jenkins/monorepo_build.py (diff)

Summary

  1. [OPENMP]Improve debug locations in OpenMP regions. (details)
  2. [SVE] Pass Scalable argument to VectorType::get in Bitcode Reader (details)
  3. [mlir][spirv] Explicitly construct ArrayRef from static array (details)
  4. Revert "[SVE] Pass Scalable argument to VectorType::get in Bitcode (details)
  5. [libFuzzer] Allow discarding output in ExecuteCommand in Fuchsia. (details)
  6. [Flang][mlir] add a band-aid to support the creation of mutually (details)
  7. [MLIR] LLVM dialect: Add llvm.atomicrmw (details)
  8. Attempt to fix Go syntax error (details)
  9. Revert "Attempt to fix Go syntax error" (details)
  10. Revert "Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot" (details)
  11. Move the sysroot attribute from DIModule to DICompileUnit (details)
  12. [ELF] Allow R_PLT_PC (R_PC) to a hidden undefined weak symbol (details)
  13. debugserver: Pass -arch flags to mig invocation as needed (details)
  14. [ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc (details)
Commit c33ba8c15858c0316378caf2667c8feee32dad36 by a.bataev
[OPENMP]Improve debug locations in OpenMP regions.
Emit more precise debug locations for the OpenMP outlined regions.
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 5df53a22592729e631c4030f38c599b9f37095b7 by huihuiz
[SVE] Pass Scalable argument to VectorType::get in Bitcode Reader
Summary:
* Pass the Scalability test to VectorType::get in order to be able to
deserialize bitcode that contains scalable vector operations
Change-Id: I37fe5b1c0c237a9153130deefdc1a6d595c7f12e
Reviewers: efriedma, pcc, sdesmalen, apazos, huihuiz, chrisj
Reviewed By: sdesmalen
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72792
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was addedllvm/test/Bitcode/vscale-round-trip.ll
Commit 927f8f40a4c27bd47bca9a8d64786ca8b22fa38d by antiagainst
[mlir][spirv] Explicitly construct ArrayRef from static array
Again for pleasing GCC 5.
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
Commit 447dcef79001ab5b842677bbada68624aa27e583 by efriedma
Revert "[SVE] Pass Scalable argument to VectorType::get in Bitcode
Reader"
This reverts commit 5df53a22592729e631c4030f38c599b9f37095b7.
Caused test failures.
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was removedllvm/test/Bitcode/vscale-round-trip.ll
Commit 44aaca3de4f4918b6178a28d855b153ab335e6a3 by mvanotti
[libFuzzer] Allow discarding output in ExecuteCommand in Fuchsia.
Summary: This commit modifies the way `ExecuteCommand` works in fuchsia
by adding special logic to handle `/dev/null`.
The FuzzerCommand interface does not have a way to "discard" the output,
so other parts of the code just set the output file to `getDevNull()`.
The problem is that fuchsia does not have a named file that is
equivalent to `/dev/null`, so opening that file just fails.
This commit detects whether the specified output file is `getDevNull`,
and if that's the case, it will not copy the file descriptor for stdout
in the spawned process.
NOTE that modifying `FuzzerCommand` to add a "discardOutput" function
involves a significant refactor of all the other platforms, as they all
rely on the `toString()` method of `FuzzerCommand`.
This allows libfuzzer in fuchsia to run with `fork=1`, as the merge
process (`FuzzerMerge.cpp`) invoked `ExecuteCommand` with `/dev/null` as
the output.
Reviewers: aarongreen, phosek
Reviewed By: aarongreen
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72894
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Commit 37e2560d3d24d7858493d30fc5b6e6a001f2a197 by zinenko
[Flang][mlir] add a band-aid to support the creation of mutually
recursive types when lowering to LLVM IR
Summary: This is a temporary implementation to support Flang.  The
LLVM-IR parser will need to be extended in some way to support recursive
types.  The exact approach here is still a work-in-progress.
Unfortunately, this won't pass roundtrip testing yet. Adding a comment
to the test file as a reminder.
Differential Revision: https://reviews.llvm.org/D72542
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit 60a0c612df515cffcf4489b97bfff7b97b78018b by zinenko
[MLIR] LLVM dialect: Add llvm.atomicrmw
Summary: This op is the counterpart to LLVM's atomicrmw instruction.
Note that volatile and syncscope attributes are not yet supported.
This will be useful for upcoming parallel versions of `affine.for` and
generally for reduction-like semantics.
Differential Revision: https://reviews.llvm.org/D72741
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/Target/llvmir.mlir
Commit c0176916a4824812d25a5a22c4ff7c95857b0cd6 by Adrian Prantl
Attempt to fix Go syntax error
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
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/DebugInfo/X86/clang-module.ll
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/CodeGen/X86/load-combine-dbg.ll
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/test/DebugInfo/X86/DIModule.ll
The file was modifiedclang/test/Modules/debug-info-moduleimport.m
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was removedclang/test/CodeGen/debug-info-sysroot.c
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/test/DebugInfo/X86/DIModuleContext.ll
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
The file was modifiedclang/test/CodeGen/debug-nvptx.c
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was removedllvm/test/DebugInfo/X86/split-dwarf-sysroot.ll
The file was modifiedllvm/test/Assembler/dimodule.ll
The file was modifiedllvm/test/Assembler/dicompileunit.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.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/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedclang/test/Modules/debug-info-moduleimport.m
The file was modifiedllvm/test/DebugInfo/X86/clang-module.ll
The file was addedllvm/test/DebugInfo/X86/split-dwarf-sysroot.ll
The file was modifiedllvm/test/CodeGen/X86/load-combine-dbg.ll
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/CodeGen/debug-info-sysroot.c
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/DebugInfo/X86/DIModule.ll
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/test/Assembler/dimodule.ll
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedclang/test/CodeGen/debug-nvptx.c
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Assembler/dicompileunit.ll
The file was modifiedllvm/include/llvm/IR/DIBuilder.h
The file was modifiedllvm/test/DebugInfo/X86/DIModuleContext.ll
Commit 6ab89c3c5df8b679e6ee240a13356309c048fc71 by maskray
[ELF] Allow R_PLT_PC (R_PC) to a hidden undefined weak symbol
This essentially reverts b841e119d77ed0502e3a2e710f26a899bef28b3c.
Such code construct can be used in the following way:
  // glibc/stdlib/exit.c
// clang -fuse-ld=lld => succeeded
// clang -fuse-ld=lld -fpie -pie => relocation R_PLT_PC cannot refer to
absolute symbol
__attribute__((weak, visibility("hidden"))) extern void
__call_tls_dtors();
void __run_exit_handlers() {
   if (__call_tls_dtors)
       __call_tls_dtors();
}
Since we allow R_PLT_PC in -no-pie mode, it makes sense to allow it in
-pie mode as well.
Reviewed By: pcc
Differential Revision: https://reviews.llvm.org/D72943
The file was modifiedlld/test/ELF/weak-undef-hidden.s
The file was modifiedlld/ELF/Relocations.cpp
Commit 510758dae2a8fa4b0b26dea89d4d1efd576b8ad6 by Vedant Kumar
debugserver: Pass -arch flags to mig invocation as needed
Specify -isysroot and any necessary -arch flags in the `mig` invocation
when CMAKE_OSX_ARCHITECTURES is set (needed for the bridgeOS build).
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 22af2cbefc86dbef6e11ddaa96a08956e0baf22b by epastor
[ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc
Summary: As discussed on the mailing list, I plan to introduce an
ml-compatible MASM assembler as part of providing more of the Windows
build tools. This will be similar to llvm-mc, but with different
command-line parameters.
This placeholder is purely a stripped-down version of llvm-mc; we'll
eventually add support for the Microsoft-style command-line flags, and
back it with a MASM parser.
Reviewers: rnk, thakis
Reviewed By: thakis
Subscribers: merge_guards_bot, mgorny, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72679
The file was addedllvm/tools/llvm-ml/Disassembler.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was addedllvm/tools/llvm-ml/CMakeLists.txt
The file was addedllvm/tools/llvm-ml/Disassembler.h
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
The file was addedllvm/test/tools/llvm-ml/basic.test
The file was modifiedllvm/test/CMakeLists.txt
The file was addedllvm/tools/llvm-ml/llvm-ml.cpp
The file was addedllvm/test/tools/llvm-ml/run.test