SuccessChanges

Summary

  1. [Docs] Updates sidebar links (details)
  2. [Docs] Bug fix for document not included in toctree (details)
  3. [Support] Add a DataExtractor constructor that takes ArrayRef<uint8_t> (details)
  4. [Attributor] Implement "norecurse" function attribute deduction (details)
  5. Recommit [SampleFDO] Expose an interface to return the size of a section (details)
  6. Test mail. NFC. (details)
  7. SROA: Check Total Bits of vector type (details)
  8. [CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header (details)
  9. [LLDB] Fix compilation for MinGW, remove redundant class name on inline (details)
  10. [LLDB] Check for the GCC/MinGW compatible arch defines for windows, in (details)
  11. [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment (details)
  12. [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style (details)
  13. [LLDB] Cast -1 (as invalid socket) to the socket type before comparing (details)
Commit 75d2c2692112a4bd9327eb5bede0f96be9ea7a47 by d4m1887
[Docs] Updates sidebar links
Adds additional links to sidebar. Also removes Glossary and FAQ from
LLVM Design & Overview section. (These links now reside on the sidebar.)
llvm-svn: 372469
The file was modifiedllvm/docs/index.rst
The file was modifiedllvm/docs/_templates/indexsidebar.html
Commit e75c6b6d48d857a95750f63923ea7d26c220a9a4 by d4m1887
[Docs] Bug fix for document not included in toctree
Fixes 'document not included in toctree' bug for FAQ and Lexicon topics.
llvm-svn: 372470
The file was modifiedllvm/docs/index.rst
Commit 9ec7117506355771a8410b6c92c94bc6f6754ffb by maskray
[Support] Add a DataExtractor constructor that takes ArrayRef<uint8_t>
The new constructor can simplify some llvm-readobj call sites.
Reviewed By: grimar, dblaikie
Differential Revision: https://reviews.llvm.org/D67797
llvm-svn: 372473
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
Commit 63f6066b53d5094945fc47f382480290520b1605 by uenoku.tokotoko
[Attributor] Implement "norecurse" function attribute deduction
Summary: This patch introduces `norecurse` function attribute deduction.
`norecurse` will be deduced if the following conditions hold:
* The size of SCC in which the function belongs equals to 1.
* The function doesn't have self-recursion.
* We have `norecurse` for all call site.
To avoid a large change, SCC is calculated using scc_iterator in
InfoCache initialization for now.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67751
llvm-svn: 372475
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit eee532cd5f908f1ade1752781ce82abbde74047b by wmi
Recommit [SampleFDO] Expose an interface to return the size of a section
or the size of the profile for profile in ExtBinary format.
Fix a test failure on Mac.
[SampleFDO] Expose an interface to return the size of a section or the
size of the profile for profile in ExtBinary format.
Sometimes we want to limit the size of the profile by stripping some
functions with low sample count or by stripping some function names with
small text size from profile symbol list. That requires the profile
reader to have the interfaces returning the size of a section or the
size of total profile. The patch add those interfaces.
At the same time, add some dump facility to show the size of each
section.
Differential revision: https://reviews.llvm.org/D67726
llvm-svn: 372478
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was addedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
Commit c62136e6748f1d4f5d94f188203fd998bbb9f588 by quic_ssarda
Test mail. NFC.
Testing commit acces. NFC.
llvm-svn: 372479
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit cd629ea0a8ef55458e1a75a3ef8e43ad68974479 by quic_ssarda
SROA: Check Total Bits of vector type
While Promoting alloca instruction of Vector Type,  Check total size in
bits of its slices too. If they don't match, don't promote the alloca
instruction.
Bug : https://bugs.llvm.org/show_bug.cgi?id=42585
llvm-svn: 372480
The file was addedllvm/test/Transforms/SROA/vector-promotion-different-size.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 1bfdab52a76bf667aa345b5026f1d524ed6d4ac8 by martin
[CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header
This fixes (one aspect of) compilation of LLDB with MSVC for ARM64.
LLDB source files include intrin.h, and the MSVC intrin.h transitively
includes arm64intr.h, which has an ARM64_FPSR define, which clashes with
the enum declaration.
Differential Revision: https://reviews.llvm.org/D67864
llvm-svn: 372481
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
Commit f4deacf995c73045a2172f35cbaf289fa97e7abc by martin
[LLDB] Fix compilation for MinGW, remove redundant class name on inline
member
This fixes build errors like these:
NativeRegisterContextWindows.h:22:33: error: extra qualification on
member 'NativeRegisterContextWindows'
NativeRegisterContextWindows::NativeRegisterContextWindows(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Differential Revision: https://reviews.llvm.org/D67856
llvm-svn: 372482
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.h
Commit 2e25c44dc3fa97defe03e4b5d813344577d6b5fb by martin
[LLDB] Check for the GCC/MinGW compatible arch defines for windows, in
addition to MSVC defines
This matches how it is done in all other similar ifdefs throughout lldb.
Differential Revision: https://reviews.llvm.org/D67858
llvm-svn: 372483
The file was modifiedlldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
Commit 5c38730dbd002a9f669bf3fb3c0a8b19e84bdd97 by martin
[LLDB] Use LLVM_FALLTHROUGH instead of a custom comment
This fixes a warning when built with Clang in MinGW mode.
Differential Revision: https://reviews.llvm.org/D67860
llvm-svn: 372484
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
Commit ed78dc8e4371b573e3daca3ee6d39231df218918 by martin
[LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style
format strings
SetErrorStringWithFormat only supports normal printf style format
strings.
Differential Revision: https://reviews.llvm.org/D67862
llvm-svn: 372485
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
Commit 5534a6750087ef4290c58238337b0dad29397f46 by martin
[LLDB] Cast -1 (as invalid socket) to the socket type before comparing
This silences warnings about comparison of integers between unsigned
long long (which is what the Windows SOCKET type is) and signed int when
building in MinGW mode.
Differential Revision: https://reviews.llvm.org/D67863
llvm-svn: 372486
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/source/Host/common/Socket.cpp