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


  1. Fix another MSVC issue after 367965 (details)
  2. [NFC][DirectoryWatchedTests] Unlocks mutexes before signaling condition (details)
  3. Re-commit: [AMDGPU] Use S_DENORM_MODE for gfx10 (details)
  4. gn build: Merge r367917 (details)
  5. gn build: Leave a comment why "-gen-searchable-table" tablegen()s are (details)
  6. gn build: Add AMDGPU target (details)
  7. Builtins: Start adding half versions of math builtins (details)
  8. CodeGen: Migration to using Register (details)
  9. Remove unused function 'SetMangledCounterparts' (NFC) (details)
  10. [Gardening] Remove dead code from IOHandler (NFC) (details)
  11. [Gardening] Remove dead code from ScriptInterpreterPython (NFC) (details)
  12. [Gardening] Remove dead code from ASTDumper (NFC) (details)
  13. [clang][DirectoryWatcher] Adding llvm::Expected error handling to (details)
  14. [LV][NFC] Share the LV illegality reporting with LoopVectorize. (details)
  15. [Driver] Prioritize SYSROOT/usr/include over RESOURCE_DIR/include on (details)
  16. [Driver] Introduce -stdlib++-isystem (details)
  17. Fix line table resolution near the end of a section (details)
  18. [DirectoryWatcher] Fix asserts Mac builds (details)
  19. Use "isa" since the variable isn't used. (details)
  20. [llvm/test/Object] - Cleanup and move out the yaml2obj tests. (details)
  21. [lldb][NFC] Remove unnecessary cast in ClangUserExpression (details)
  22. [compiler-rt] Reverting r367962 due to Fuchsia bot build-breakage. (details)
  23. SymbolVendorELF: Perform build-id lookup even without a debug link (details)
  24. Revert r367941 "Add a note to the release not about a potentially (details)
  25. [compiler-rt] Implement getrandom interception (details)
  26. [LLVM][Alignment] Introduce Alignment In GlobalObject (details)
  27. SymbolVendor: Remove passthrough methods (details)
  28. [LLVM][Alignment] Introduce Alignment In Attributes (details)
  29. AArch64: use xzr/wzr for constant 0 in GlobalISel. (details)
  30. Reorder sed commands for the binary comparison (details)
  31. [UpdateTestChecks] Apply some string concatenation cleanup (details)
  32. [UpdateTestChecks] Fix an incorrect %s added in r368006 (details)
  33. [SelectionDAG] Extend base addressing modes supported by (details)
  34. Add User docs for ASTImporter (details)
  35. ObjectFileELF: permit thread-local sections with overlapping file (details)
  36. Change two unnecessary uses of llvm::size(C) to C.size() (details)
Commit de4060816fa06c8acaef4fbfe1f687b69a430dac by daniel_l_sanders
Fix another MSVC issue after 367965
Repeated the fix for MCRegister in Register
This reverts r367932 (git commit
llvm-svn: 367967
The file was modifiedllvm/include/llvm/CodeGen/Register.h
Commit fa086d701a22067ca6602c7f1f57c35d17600af1 by puyan
[NFC][DirectoryWatchedTests] Unlocks mutexes before signaling condition
This should not affect actual behavior, but should pessimize the
threading less by avoiding the situation where:
  * mutex is still locked
* T1 notifies on condition variable
* T2 wakes to check mutex
* T2 sees mutex is still locked
* T2 waits
* T1 unlocks mutex
* T2 tries again, acquires mutex.
Differential Revision:
llvm-svn: 367968
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Commit a05c384132a2055ffd20bfaa53b9789034a2f40f by Austin.Kerbow
Re-commit: [AMDGPU] Use S_DENORM_MODE for gfx10
Summary: During fdiv32 lowering use S_DENORM_MODE to select denorm mode
in gfx10.
Reviewers: arsenm, rampitec
Reviewed By: arsenm, rampitec
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 367969
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 139fb5d4785341bae9233c4d45ae58d7c7e857c1 by nicolasweber
gn build: Merge r367917
llvm-svn: 367970
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/
Commit 08fd65964f6df851b64171530dc2b8fc53cde816 by nicolasweber
gn build: Leave a comment why "-gen-searchable-table" tablegen()s are
not called FooGenSearchableTable
llvm-svn: 367971
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/
Commit 96dd95fd9510a28e6d7157db6adf51f03b935ff8 by nicolasweber
gn build: Add AMDGPU target
Differential Revision:
llvm-svn: 367972
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/
The file was modifiedllvm/utils/gn/TODO.txt
The file was addedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/targets.gni
Commit acd0a53c02bcad5748dcac9ae25842ea5d564341 by Matthew.Arsenault
Builtins: Start adding half versions of math builtins
The implementation of the OpenCL builtin currently library uses 2
different hacks to get to the corresponding IR intrinsics from the
source. This will allow removal of those.
This is the set that is currently used (minus a few vector ones).
llvm-svn: 367973
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was addedclang/test/CodeGenOpenCL/
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit f4d3113a5fd6ac09dc5498bbbdfecc7d8e336951 by Matthew.Arsenault
CodeGen: Migration to using Register
llvm-svn: 367974
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/include/llvm/CodeGen/FastISel.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBuilder.h
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Commit 78dfc945b098bb4ed16c641437e7887708327af8 by Jonas Devlieghere
Remove unused function 'SetMangledCounterparts' (NFC)
This function is not referenced.
llvm-svn: 367975
The file was modifiedlldb/source/Utility/ConstString.cpp
Commit 3c3dce25453af805858ad20183b1429f9372fe82 by Jonas Devlieghere
[Gardening] Remove dead code from IOHandler (NFC)
These functions are not referenced.
llvm-svn: 367976
The file was modifiedlldb/source/Core/IOHandler.cpp
Commit ea1752a79ae66a9f878bcfc9481d8b1aa6d90a80 by Jonas Devlieghere
[Gardening] Remove dead code from ScriptInterpreterPython (NFC)
The terminal state is never saved or restored.
llvm-svn: 367977
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit d099c893919ccb191af8e39351b4dc8979a25f94 by Jonas Devlieghere
[Gardening] Remove dead code from ASTDumper (NFC)
These functions are not referenced.
llvm-svn: 367978
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
Commit ef74924fc75b32511057b06bc28c08f6419b71ba by puyan
[clang][DirectoryWatcher] Adding llvm::Expected error handling to
Prior to this patch Unix style errno error reporting from the inotify
layer was used by DirectoryWatcher::create to simply return a nullptr on
error. This would generally be ok, except that in LLVM we have much more
robust error reporting through the facilities of llvm::Expected.
The other critical thing I stumbled across was that the unit tests for
DirectoryWatcher were not failing abruptly when inotify_init() was
reporting an error, but would continue with the testing and eventually
hit a deadlock in a pathological machine state (ie in the unit test, the
return nullptr on ::create was ignored).
Generally this pathological state never happens on any build bot, so it
is totally understandable that it was overlooked, but on a Linux desktop
running a dubious desktop environment (which I will not name) there is a
chance that said desktop environment could use up enough inotify
instances to exceed the user's limit. These are the conditions that led
me to hit the deadlock I am addressing in this patch with more robust
error handling.
With the new llvm::Expected error handling when your system runs out of
inotify instances for your user, the unit test will be forced to handle
the error or crash and report the issue to the user instead of weirdly
deadlocking on a condition variable wait.
Differential Revision:
llvm-svn: 367979
The file was modifiedclang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
The file was modifiedclang/include/clang/DirectoryWatcher/DirectoryWatcher.h
The file was modifiedclang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
The file was modifiedclang/lib/DirectoryWatcher/default/DirectoryWatcher-not-implemented.cpp
Commit ec818d7fb3c468c9ab46663873e79772ccc77523 by hideki.saito
[LV][NFC] Share the LV illegality reporting with LoopVectorize.
Reviewers: hsaito, fhahn, rengolin
Reviewed By: rengolin
Patch by psamolysov, thanks!
Differential Revision:
llvm-svn: 367980
The file was addedllvm/test/Transforms/LoopVectorize/nofloat-report.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
Commit c37022b22a8a65faf3ff4d2d37c1ff4d16b6e6a8 by maskray
[Driver] Prioritize SYSROOT/usr/include over RESOURCE_DIR/include on
On a musl-based Linux distribution, stdalign.h stdarg.h stdbool.h
stddef.h stdint.h stdnoreturn.h are expected to be provided by musl
(/usr/include), instead of RESOURCE_DIR/include. Reorder
RESOURCE_DIR/include to fix the search order problem.
(Currently musl doesn't provide stdatomic.h. stdatomic.h is still found
in RESOURCE_DIR/include.)
gcc on musl has a similar search order:
This is different from a glibc-based distribution where
RESOURCE_DIR/include is placed before SYSROOT/usr/include.
According to the maintainer of musl:
> musl does not support use/mixing of compiler-provided std headers with
its headers, and intentionally has no mechanism for communicating with
such headers as to which types have already been defined or still need
to be defined. If the current include order, with clang's headers before
the libc ones, works in some situations, it's only by accident.
Reviewed by: phosek
Differential Revision:
llvm-svn: 367981
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was addedclang/test/Driver/linux-musl-header-search.cpp
Commit b50e8c592789bfecb85dca9067c0853ad4d30199 by smeenai
[Driver] Introduce -stdlib++-isystem
There are times when we wish to explicitly control the C++ standard
library search paths used by the driver. For example, when we're
building against the Android NDK, we might want to use the NDK's C++
headers (which have a custom inline namespace) even if we have C++
headers installed next to the driver. We might also be building against
a non-standard directory layout and wanting to specify the C++ standard
library include directories explicitly.
We could accomplish this by passing -nostdinc++ and adding an explicit
-isystem for our custom search directories. However, users of our
toolchain may themselves want to use -nostdinc++ and a custom C++ search
path (libc++'s build does this, for example), and our added -isystem
won't respect the -nostdinc++, leading to multiple C++ header
directories on the search path, which causes build failures.
Add a new driver option -stdlib++-isystem to support this use case.
Passing this option suppresses adding the default C++ library include
paths in the driver, and it also respects -nostdinc++ to allow users to
still override the C++ library paths themselves.
It's a bit unfortunate that we end up with both -stdlib++-isystem and
-cxx-isystem, but their semantics differ significantly. -cxx-isystem is
unaffected by -nostdinc++ and is added to the end of the search path
(which is not appropriate for C++ standard library headers, since they
often #include_next into other system headers), while -stdlib++-isystem
respects -nostdinc++, is added to the beginning of the search path, and
suppresses the default C++ library include paths.
Differential Revision:
llvm-svn: 367982
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was addedclang/test/Driver/stdlibxx-isystem.cpp
The file was modifiedclang/include/clang/Driver/
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit a3bdcdf714bfc914ba61792d38b2383424b9b6e3 by pavel
Fix line table resolution near the end of a section
Summary: lld r367537 changed the way the linker organizes sections and
segments. This exposed an lldb bug and caused some tests to fail.
In all of the failing tests the root cause was the same -- when we were
trying to resolve the last address in the line_table section, we failed
because it pointed past the end of the section.
This patch changes the line table address resolution code to back up the
address by one for end-of-sequence entries. This ensures the address
still points inside a section/module even if the line table sequence
ends at the very end of a section.
It also reverts the linker flags which were added to the failing tests
to restore previous behavior.
Reviewers: clayborg, jingham
Subscribers: mgorny, MaskRay, lldb-commits
Differential Revision:
llvm-svn: 367983
The file was modifiedlldb/lit/SymbolFile/DWARF/dir-separator-windows.s
The file was modifiedlldb/lit/SymbolFile/DWARF/dir-separator-posix.s
The file was modifiedlldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s
The file was modifiedlldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s
The file was modifiedlldb/source/Symbol/LineTable.cpp
The file was modifiedlldb/lit/SymbolFile/DWARF/debug-line-basic.s
Commit fe08528c8e8a4afd9a2dfffbcc20d8a3f430c69d by smeenai
[DirectoryWatcher] Fix asserts Mac builds
Add a missing semicolon after an assert. Remove the period from the
assert message while I'm here, because we don't usually have those.
llvm-svn: 367984
The file was modifiedclang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
Commit ebc2cf9c27d17f8c0ee806be7cfd2b88db74efa3 by isanbard
Use "isa" since the variable isn't used.
llvm-svn: 367985
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
Commit c056dd150223cd9d500d5e0455391bf5fbec8cf3 by grimar
[llvm/test/Object] - Cleanup and move out the yaml2obj tests.
There are multiple yaml2obj-* tests in llvm/test/Object folder. This is
not correct place to have them and my intention was to move them out to
test\tools\yaml2obj folder. I reviewed them, made some changes, and my
comments are below.
For all tests I:
Added comments when needed. Moved them from llvm/test/Object to yaml2obj
tests. Another changes performed:
1) yaml2obj-invalid.yaml. It was a test for an invalid YAML input. I
just moved it.
2) yaml2obj-coff-multi-doc.test/yaml2obj-elf-multi-doc.test: these were
a tests for testing --docnum=x functionality, one was for COFF and one
for ELF. I merged them into one.
3) yaml2obj-elf-bits-endian.test: I removed its 4 YAML inputs (merged
into the main test).
4) yaml2obj-readobj.test: This file has a long history. It was added to
check the
"parsing of header charactestics" initially. Then was used to test how
yaml2obj writes the relocations. Then was upgraded to check how yaml2obj
handle "-o" option. I think it should be heavily splitted and refactored
in a separate patch. For now I leaved it as is, but restyled to reduce
the changes in a follow-ups.
5) yaml2obj-elf-alignment.yaml: its intention was to check we can set
sh-addralign field. I moved, renamed (to elf-sh-addralign.yaml) and
updated this test.
6) yaml2obj-elf-file-headers.yaml: I removed it. It's intention was to
check that yaml2obj handles OS/ABI and ELF type (e.g Relocatable). We
are testing this already, for example in D64800. We might want to add a
better (more complete) test, but keeping the existent test does not have
much sense I think.
7) yaml2obj-elf-file-headers-with-e_flags.yaml: I would describe its
intention as "testing MIPS e_flags". It is far from being complete and
tests only a few flags. I leaved it alone for now.
8) yaml2obj-elf-rel.yaml: its intention is to check the MIPS32
relocations. We have a version for MIPS64 here:
test\Object\Mips\elf-mips64-rel.yaml Seems them both are incomplete. I
leaved them alone for now.
9) yaml2obj-elf-rel-noref.yaml: was introduced to check the support of
arm32 R_ARM_V4BX relocatiion. I leaved it alone for now.
10) yaml2obj-elf-section-basic.yaml: it just checked that we are able to
recognise trivial fields like section 'Name', 'Type', 'Flags' and
others. All of our yaml2obj tests are heavily using it. I just removed
this test.
11) yaml2obj-elf-section-invalid-size.yaml: its intention was to check
"Section size must be greater than or equal to the content size" error.
I moved this test to `tools\yaml2obj\section-size-content.yaml'
12) yaml2obj-elf-symbol-basic.yaml: its intention seems was to support
declarations of the symbols in yaml2obj. I removed it. We use this in
almost each test we already have.
13) yaml2obj-elf-symbol-LocalGlobalWeak.yaml: its intention was to check
that we can declare different symbol bindings. I moved it to
14) yaml2obj-coff-invalid-alignment.test: check that error is reported
for a too large coff section alignment. Moved it to
15) yaml2obj-elf-symbol-visibility.yaml: tests ELF symbols visibility. I
improved it and moved to tools\yaml2obj\elf-symbol-visibility.yaml and
Differential revision:
llvm-svn: 367988
The file was removedllvm/test/Object/yaml2obj-elf-alignment.yaml
The file was addedllvm/test/tools/yaml2obj/invalid-yaml.yaml
The file was removedllvm/test/Object/yaml2obj-elf-bits-endian.test
The file was addedllvm/test/tools/yaml2obj/elf-symbol-visibility.yaml
The file was removedllvm/test/Object/yaml2obj-elf-file-headers.yaml
The file was removedllvm/test/Object/yaml2obj-elf-symbol-basic.yaml
The file was removedllvm/test/Object/yaml2obj-coff-multi-doc.test
The file was removedllvm/test/Object/Inputs/ELF/BE64.yaml
The file was modifiedllvm/test/Object/yaml2obj-readobj.test
The file was addedllvm/test/tools/yaml2obj/coff-invalid-alignment.test
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was removedllvm/test/Object/yaml2obj-elf-symbol-LocalGlobalWeak.yaml
The file was removedllvm/test/Object/Inputs/ELF/LE32.yaml
The file was addedllvm/test/tools/yaml2obj/elf-sh-addralign.yaml
The file was removedllvm/test/Object/yaml2obj-invalid.yaml
The file was removedllvm/test/Object/yaml2obj-elf-symbol-visibility.yaml
The file was removedllvm/test/Object/Inputs/ELF/BE32.yaml
The file was removedllvm/test/Object/Inputs/ELF/LE64.yaml
The file was removedllvm/test/Object/yaml2obj-elf-section-invalid-size.yaml
The file was addedllvm/test/tools/obj2yaml/elf-symbol-visibility.yaml
The file was removedllvm/test/Object/yaml2obj-elf-section-basic.yaml
The file was removedllvm/test/Object/yaml2obj-coff-invalid-alignment.test
The file was addedllvm/test/tools/yaml2obj/multi-doc.test
The file was removedllvm/test/Object/yaml2obj-elf-multi-doc.test
The file was addedllvm/test/tools/yaml2obj/elf-class-endianness.test
The file was addedllvm/test/tools/yaml2obj/elf-symbol-binding.yaml
Commit efe5fd16d10d22d1843be8994a8129df53a5216a by Raphael Isemann
[lldb][NFC] Remove unnecessary cast in ClangUserExpression
llvm-svn: 367989
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit 1b3718e609c9fd7c8af09d9c9f17e2937847fb38 by puyan
[compiler-rt] Reverting r367962 due to Fuchsia bot build-breakage.
llvm-svn: 367990
The file was modifiedcompiler-rt/lib/xray/CMakeLists.txt
Commit 001ecbde1112356f7c820037ef1e3ca75f03be3b by pavel
SymbolVendorELF: Perform build-id lookup even without a debug link
Summary: The debug link and build-id lookups are two independent ways
one can search for a separate symbol file. However, our implementation
in SymbolVendorELF was tying the two together and refusing to look up
the symbol file based on a build id if the file did not contain a debug
This patch makes it possible to search for the symbol file with just one
of the two methods available. To demonstrate, I split the build-id-case
test into two, so that we test the search using both methods.
Reviewers: jankratochvil, mgorny, clayborg, espindola, alexshap
Subscribers: emaste, arichardson, MaskRay, lldb-commits
Differential Revision:
llvm-svn: 367994
The file was modifiedlldb/source/Symbol/LocateSymbolFile.cpp
The file was addedlldb/lit/Modules/ELF/gnu-debuglink.yaml
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
The file was modifiedlldb/lit/Modules/ELF/build-id-case.yaml
Commit dba4dd1e8da4c168a4dacb47099132f0bad925f4 by hans
Revert r367941 "Add a note to the release not about a potentially
breaking optimization"
The note was moved to the release_90 branch in r367997.
llvm-svn: 367998
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit ac9ee01fcbfac745aaedca0393a8e1c8a33acd8d by Vitaly Buka
[compiler-rt] Implement getrandom interception
Summary: Straightforward implementation of `getrandom` syscall and libc
Test Plan: Local MSAN failures caused by uninstrumented `getrandom`
calls stop failing.
Patch by Andrew Krieger.
Reviewers: eugenis, vitalybuka
Reviewed By: vitalybuka
Subscribers: srhines, kubamracek, dberris, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision:
llvm-svn: 367999
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/
The file was modifiedcompiler-rt/lib/sanitizer_common/
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/getrandom.cpp
Commit 396521378f0a5c5373c0321e156de7cbcffb3cd3 by gchatelet
[LLVM][Alignment] Introduce Alignment In GlobalObject
Summary: This is patch is part of a serie to introduce an Alignment
type. See this thread for context: See this
patch for the introduction of the type:
Reviewers: jfb
Subscribers: hiraditya, dexonsmith, llvm-commits, courbet
Tags: #llvm
Differential Revision:
Address comments
llvm-svn: 368000
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was modifiedllvm/unittests/IR/ValueTest.cpp
The file was modifiedllvm/unittests/Support/AlignmentTest.cpp
The file was modifiedllvm/include/llvm/Support/Alignment.h
Commit 465eae3669ed2046fead6ff0e43067bdf1eb1c81 by pavel
SymbolVendor: Remove passthrough methods
After the recent refactorings the SymbolVendor passthrough no longer
serve any purpose. This patch removes those methods, and updates all
callsites to go to the symbol file directly -- in most cases that just
means calling GetSymbolFile()->foo() instead of
llvm-svn: 368001
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Symbol/Function.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/API/SBCompileUnit.cpp
The file was modifiedlldb/source/API/SBModule.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was modifiedlldb/source/Core/SearchFilter.cpp
The file was modifiedlldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Symbol/Block.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Symbol/SymbolVendor.cpp
Commit a7b6a7c851ebad0b626b05618d271ac24c17e0e8 by gchatelet
[LLVM][Alignment] Introduce Alignment In Attributes
Summary: This is patch is part of a serie to introduce an Alignment
type. See this thread for context: See this
patch for the introduction of the type:
Reviewers: jfb
Subscribers: hiraditya, dexonsmith, llvm-commits, courbet
Tags: #llvm
Differential Revision:
llvm-svn: 368002
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit de98e92bc2b691248fd6557cea1c03237e21adb2 by Tim Northover
AArch64: use xzr/wzr for constant 0 in GlobalISel.
COPYs from xzr and wzr can often be folded away entirely during register
allocation, unlike a movz.
llvm-svn: 368003
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/fold-select.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/swifterror.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-cmpxchg.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-compare.mir
Commit 757ac1ffd50ff2739572f20dd14176ebb7f58fe5 by hans Reorder sed commands for the binary comparison
llvm-svn: 368004
The file was modifiedllvm/utils/release/
Commit d24e6d7bf567802bc466f0324333bc2f143bbd9f by maskray
[UpdateTestChecks] Apply some string concatenation cleanup
Some were what I suggested in D65610.
llvm-svn: 368006
The file was modifiedllvm/utils/
Commit 1eb84c4d063483218abcc8970548e9ac0cb691e1 by maskray
[UpdateTestChecks] Fix an incorrect %s added in r368006
llvm-svn: 368007
The file was modifiedllvm/utils/
Commit ced419f4d76a2f8bcd8647f0792e0fc20ad351ed by cullen.rhodes
[SelectionDAG] Extend base addressing modes supported by
Summary: Before this patch MGATHER/MSCATTER is capable of representing
all common addressing modes, but only when illegal types are used. This
patch adds an IndexType property so more representations are available
when using legal types only.
Original modes:
vector of bases
base + vector of signed scaled offsets
New modes:
base + vector of signed unscaled offsets
base + vector of unsigned scaled offsets
base + vector of unsigned unscaled offsets
The current behaviour of addressing modes for gather/scatter remains
Patch by Paul Walker.
Reviewed By: craig.topper
Differential Revision:
llvm-svn: 368008
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit f89c8f20e1e6c3d8db89e53ac367e4ee69a5415d by gabor.marton
Add User docs for ASTImporter
Summary: This document includes the description of the ASTImporter from
the user/client perspective. A subsequent patch will describe the
development internals.
Reviewers: a_sidorin, shafik, gamesh411, balazske, a.sidorin
Subscribers: rnkovacs, dkrupp, arphaman, Szelethus, cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 368009
The file was modifiedclang/docs/index.rst
The file was addedclang/docs/LibASTImporter.rst
Commit 1177bc597d5f1bab4f4ed79b2fe88ae1d2461c39 by pavel
ObjectFileELF: permit thread-local sections with overlapping file
Summary: In an attempt to make file-address-based lookups more
predictable, in D55998 we started ignoring sections which would result
in file address overlaps. It turns out this was too aggressive because
thread-local sections typically will have file addresses which apear to
overlap regular data/code. This does not cause a problem at runtime
because thread-local sections are loaded into memory using special
logic, but it can cause problems for lldb when trying to lookup objects
by their file address.
This patch changes ObjectFileELF to permit thread-local sections to
overlap regular ones by essentially giving them a separate address
space. It also makes them more symmetrical to regular sections by
creating container sections from PT_TLS segments.
Simultaneously, the patch changes the regular file address lookup logic
to ignore sections with the thread-specific bit set. I believe this is
what the users looking up file addresses would typically expect, as
looking up thread-local data generally requires more complex logic (e.g.
DWARF has a special opcode for that).
Reviewers: clayborg, jingham, MaskRay
Subscribers: emaste, aprantl, arichardson, lldb-commits
Differential Revision:
llvm-svn: 368010
The file was addedlldb/lit/Modules/ELF/PT_LOAD-overlap-PT_TLS.yaml
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was addedlldb/lit/Modules/ELF/PT_TLS-overlap-PT_LOAD.yaml
Commit cb4327d7db207ae91b821950d6b6a7afdb5a3bf2 by maskray
Change two unnecessary uses of llvm::size(C) to C.size()
llvm-svn: 368011
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp