FailedChanges

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

Summary

  1. clang/Modules: Sink CompilerInstance::KnownModules into ModuleMap (details)
  2. Set the floating point status register as reserved (details)
  3. [lldb] Add trailing dots to comments in Value.cpp (details)
  4. [lldb] Provide a getter for m_materializer_up in LLVMUserExpression (details)
  5. [lldb] Also disable de-registration of EHFrames in IRExecutionUnit (details)
  6. [lldb][NFC] Make test/python_api/module_section test smaller (details)
Commit 31e14f41a21f9016050a20f07d5da03db2e8c13e by Duncan P. N. Exon Smith
clang/Modules: Sink CompilerInstance::KnownModules into ModuleMap
Avoid use-after-frees when FrontendAction::BeginSourceFile is called
twice on the same CompilerInstance by sinking
CompilerInstance::KnownModules into ModuleMap.  On the way, rename the
map to CachedModuleLoads.  I considered (but rejected) merging this with
ModuleMap::Modules, since that only has top-level modules and this map
includes submodules.
This is an alternative to https://reviews.llvm.org/D58497.  Thanks to
nemanjai for the detailed analysis of the problem!
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/include/clang/Lex/ModuleMap.h
Commit 8d7ccb37440e11552cb4a0bb989ddee5031700a4 by pengfei.wang
 Set the floating point status register as reserved
Summary: This patch sets the FPSW (X87 floating-point status register)
as a reserved physical register and fix the test failure caused by [[
https://reviews.llvm.org/D68854| D68854 ]].
Before this patch, some tests will fail because it implicit uses FPSW
without define it. Setting the FPSW as a reserved physical register will
skip liveness analysis because it is always live.
Reviewers: pengfei, craig.topper
Reviewed By: craig.topper
Subscribers: craig.topper, hiraditya, llvm-commits
Patch by LiuChen.
Differential Revision: https://reviews.llvm.org/D69784
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/pr34080-2.ll
Commit 80bf88d8bc892548aa59286306b6a1d9072a9f7a by Raphael Isemann
[lldb] Add trailing dots to comments in Value.cpp
Reviewers: JDevlieghere
Reviewed By: JDevlieghere
Subscribers: JDevlieghere, lldb-commits
Tags: #upstreaming_lldb_s_downstream_patches, #lldb
Differential Revision: https://reviews.llvm.org/D69717
The file was modifiedlldb/source/Core/Value.cpp
Commit ae10661a8121558679463a57dd8661c81895f3ff by Raphael Isemann
[lldb] Provide a getter for m_materializer_up in LLVMUserExpression
instead of relying on it being accessible.
Summary: Motivated by Swift using the materializer in a few places which
requires us to add this getter ourselves. We also need a setter, but
let's keep this minimal to unblock the downstream reverts in Swift.
Reviewers: davide
Reviewed By: davide
Subscribers: abidh, JDevlieghere, lldb-commits
Tags: #upstreaming_lldb_s_downstream_patches, #lldb
Differential Revision: https://reviews.llvm.org/D69714
The file was modifiedlldb/include/lldb/Expression/Expression.h
The file was modifiedlldb/include/lldb/Expression/LLVMUserExpression.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit df12a75a19682cfeee12c38ae5113043dddffda8 by Raphael Isemann
[lldb] Also disable de-registration of EHFrames in IRExecutionUnit
Summary: We disabled registration by providing an empty
`registerEHFrames`, so we should also provide an empty
`deregisterEHFrames` in case that function relies on `registerEHFrames`
being called before. Currently `deregisterEHFrames` is a no-op anyway as
it just iterates over the (empty( list of registered EHFrames and then
clear the empty list.
Reviewers: davide, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: JDevlieghere, lldb-commits
Tags: #upstreaming_lldb_s_downstream_patches, #lldb
Differential Revision: https://reviews.llvm.org/D69713
The file was modifiedlldb/include/lldb/Expression/IRExecutionUnit.h
Commit 848007cfbc7509543c5b8604ae063bb6c8ffa0a9 by Raphael Isemann
[lldb][NFC] Make test/python_api/module_section test smaller
Summary: I don't see why this test needs to compile this rather
complicated file for just testing module sections. This just removes all
this code with a simple
"Hello world!" program which should be faster to compile
Reviewers: labath, davide, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: jfb, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69705
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp