SuccessChanges

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

Summary

  1. [APFloat] Fix out of scope usage of a pointer to local variable (details)
  2. [SystemZ] Fix python failure in test case (details)
  3. [NFC] Use isX86() instead of getArch() (details)
  4. [lldb][NFC] Take a llvm::Triple in ClangASTContext constructor (details)
  5. [LLD][ELF][AArch64] Do not use thunk for undefined weak symbol. (details)
  6. [DebugInfo] Fix infinite loop caused by reading past debug_line end (details)
Commit 63a222e504c2f6f1e4f60f8d2acfb5870cac9c66 by ehudkatz
[APFloat] Fix out of scope usage of a pointer to local variable
The file was modifiedllvm/lib/Support/APFloat.cpp
Commit 4814b68b7ad2a4b0425d31a93ed2583cc1634445 by ulrich.weigand
[SystemZ] Fix python failure in test case
With recent Python the Large/spill-02.py test failed with an error:
TypeError: can't multiply sequence by non-int of type 'float'
The file was modifiedllvm/test/CodeGen/SystemZ/Large/spill-02.py
Commit ab1bcda851d95aeec03ffc1218bf9cae261a9280 by tclin914
[NFC] Use isX86() instead of getArch()
Summary: This is a clean up for https://reviews.llvm.org/D72247.
Reviewers: MaskRay, craig.topper, jhenderson
Reviewed By: MaskRay
Subscribers: hiraditya, rupprecht, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72320
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedclang/lib/AST/Mangle.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
Commit d364815351a887cbcd4579bc41995f8b2eb185ff by Raphael Isemann
[lldb][NFC] Take a llvm::Triple in ClangASTContext constructor
This constructor is supposed to take a string representing an
llvm::Triple. We might as well take a llvm::Triple here which saves us
all the string conversions in the call sites and we make this more type
safe.
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
The file was modifiedlldb/source/Host/common/HostInfoBase.cpp
The file was modifiedlldb/include/lldb/Host/HostInfoBase.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
Commit 051c4d5b7bcfb0c1feb69f4701086ac725322527 by peter.smith
[LLD][ELF][AArch64] Do not use thunk for undefined weak symbol.
In AArch64 a branch to an undefined weak symbol that does not have a PLT
entry should resolve to the next instruction. The thunk generation code
can prevent this from happening as a range extension thunk can be
generated if the branch is sufficiently far away from 0, the value of an
undefined weak symbol.
The fix is taken from the Arm implementation of needsThunk(), we prevent
a thunk from being generated to an undefined weak symbol.
fixes pr44451
Differential Revision: https://reviews.llvm.org/D72267
The file was modifiedlld/test/ELF/aarch64-undefined-weak.s
The file was modifiedlld/test/ELF/arm-undefined-weak.s
The file was modifiedlld/ELF/Arch/AArch64.cpp
Commit 216796f234c757b832898adec28d5d523c80dce2 by jh7370
[DebugInfo] Fix infinite loop caused by reading past debug_line end
If the claimed unit length of a debug line program is such that the line
table would finish past the end of the .debug_line section, an infinite
loop occurs because the data extractor will continue to "read" zeroes
without changing the offset. This previously didn't hit an error because
the line table program handles a series of zeroes as a bad extended
opcode.
This patch fixes the inifinite loop and adds a warning if the program
doesn't fit in the available data.
Reviewed by: JDevlieghere
Differential Revision: https://reviews.llvm.org/D72279
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp