SuccessChanges

Summary

  1. [Windows][NFC] Fix tests after r374528. (details)
  2. [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign (details)
  3. [lld] Check for branch range overflows. (details)
  4. [clangd] Propagate main context into ClangdServer (details)
  5. [AST] Remove unused Sema includes to fix a cyclic dependency from Sema (details)
  6. [AsmPrinter] Fix unused variable warning in Release builds. NFC. (details)
  7. Reapply: [Modules][PCH] Hash input files content (details)
  8. a test commit access (details)
  9. revert git test commit (details)
  10. Revert 374882 "[Concepts] Concept Specialization Expressions" (details)
  11. gn build: Merge r374899 (details)
  12. [clangd][NFC] Update comments to use triple-slashes (details)
  13. [DAGCombiner] fold select-of-constants based on sign-bit test (details)
  14. [Concepts] Concept Specialization Expressions (details)
  15. gn build: Merge r374903 (details)
  16. Skip PExpect tests under ASAN, I can't get them to work reliably. (details)
  17. Increase gdbremote_testcase timeouts when running under ASAN. (details)
  18. [Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp (details)
  19. [AMDGPU] Allow DPP combiner to work with REG_SEQUENCE (details)
  20. CFI: wrong type passed to llvm.type.test with multiple inheritance (details)
  21. [AMDGPU] Support mov dpp with 64 bit operands (details)
  22. SBFile::GetFile: convert SBFile back into python native files. (details)
  23. convert SBDebugger::***FileHandle() wrappers to native files. (details)
  24. [lld][WebAssembly] Fix static linking of -fPIC code with external (details)
  25. [AIX][XCOFF] Output XCOFF object text section header and symbol entry (details)
  26. [llvm-profdata] Remove (details)
  27. eliminate virtual methods from PythonDataObjects (details)
  28. [VirtualFileSystem] Support virtual working directory in the (details)
  29. [MemorySSA] Update DomTree before applying MSSA updates. (details)
  30. [libomptarget][nfc] Make interface.h target independent (details)
  31. [NewGVN] Check that call has an access. (details)
  32. Add more information to JSON AST dumping of source locations. (details)
  33. [X86] Make memcmp() use PTEST if possible and also enable AVX1 (details)
  34. [XCOFF] Output object text section header and symbol entry for program (details)
  35. remove FILE* usage from SBStream.i (details)
  36. [libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF. (details)
  37. Reland [Driver] Fix -working-directory issues (details)
  38. [llvm-profdata] Reinstate (details)
  39. [X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs (details)
  40. Fix Driver/working-directory.c test (details)
  41. [test] Update YAML mapping in VirtualFileSystemTest (details)
  42. [llvm-objdump] Use a counter for llvm-objdump -h instead of the section (details)
  43. [clang] refactor -Wa,-W test cases. (details)
  44. [WebAssembly] Allow multivalue types in block signature operands (details)
  45. Added support for "#pragma clang section relro=<name>" (details)
  46. Revert "[VirtualFileSystem] Support virtual working directory in the (details)
  47. Fix as-w-option.c on Windows where no assembler exists (details)
  48. [Clang][OpenMP Offload] Move offload registration code to the wrapper (details)
  49. [Concept] Associated Constraints Infrastructure (details)
  50. [WebAssembly] Elide data segments for .bss sections (details)
  51. [llvm-readobj][xcoff] implement parsing overflow section header. (details)
  52. [OPENMP]Allow final clause in combined task-based directives. The (details)
  53. [OPENMP]Fix comments/params, NFC. (details)
  54. AMDGPU: Fix infinite searches in SIFixSGPRCopies (details)
  55. [llvm-lipo] Add missing cast (details)
  56. [XCOFF]implement parsing relocation information for 32-bit xcoff object (details)
  57. [lit] Add back LitTestCase (details)
  58. [JITLink] Switch to slab allocation for InProcessMemoryManager, (details)
  59. [Docs] Updates sidebar links and sets max-width property for div.body (details)
  60. [Orc] Add a method for ObjectLinkingLayer to return ownership of object (details)
  61. Remove unnecessary and inappropriate forward-declaration of Sema from (details)
  62. [lldb] Creates _liblldb symlink from cmake (details)
  63. PR43674: fix incorrect constant evaluation of 'switch' where no case (details)
  64. [Reland][VirtualFileSystem] Support virtual working directory in the (details)
  65. [dsymutil] Support and relocate base address selection entries for (details)
  66. [ASan] Refine diagnoses messages (details)
Commit 86d0f8b148bd8da755cee615725e1488bbe6946e by aleksandr.urakov
[Windows][NFC] Fix tests after r374528.
Differential Revision: https://reviews.llvm.org/D67347
llvm-svn: 374888
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
Commit bae629b96622962245aad7b7dfcbce915d9c02a2 by gchatelet
[Alignment][NFC] Value::getPointerAlignment returns MaybeAlign
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68398
llvm-svn: 374889
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/unittests/IR/FunctionTest.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit ab5025654448ad0c93af18727f9b0698f451bd94 by sidneym
[lld] Check for branch range overflows.
Differential Revision: https://reviews.llvm.org/D68875
llvm-svn: 374891
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was addedlld/test/ELF/hexagon-jump-error.s
Commit 9d66247e9b78ceb821fba12a1d2ff66839911163 by kadircet
[clangd] Propagate main context into ClangdServer
Summary: Currently clangd initializes the ClangdServer lazily during
onInitialize request, and it results in propagation of caller's context
rather than the main context created ClangdLSPServer.
This patch changes the logic to store main context that created
ClangdLSPServer and pass it onto to ClangdServer and other objects like
CDBs.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68978
llvm-svn: 374892
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit dfb7a736015f6270cdc81ab4477768842928f644 by benny.kra
[AST] Remove unused Sema includes to fix a cyclic dependency from Sema
to AST
llvm-svn: 374893
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit ce00cd6ae845677ef95f8d62a3745f6e13125882 by benny.kra
[AsmPrinter] Fix unused variable warning in Release builds. NFC.
llvm-svn: 374894
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Commit 1731fc88d1fa1fa55edd056db73a339b415dd5d6 by bruno.cardoso
Reapply: [Modules][PCH] Hash input files content
Summary: When files often get touched during builds, the mtime based
validation leads to different problems in implicit modules builds, even
when the content doesn't actually change:
- Modules only: module invalidation due to out of date files. Usually
causing rebuild traffic.
- Modules + PCH: build failures because clang cannot rebuild a module if
it comes from building a PCH.
- PCH: build failures because clang cannot rebuild a PCH in case one of
the input headers has different mtime.
This patch proposes hashing the content of input files (headers and
module maps), which is performed during serialization time. When looking
at input files for validation, clang only computes the hash in case
there's a mtime mismatch.
I've tested a couple of different hash algorithms availble in LLVM in
face of building modules+pch for `#import <Cocoa/Cocoa.h>`:
- `hash_code`: performace diff within the noise, total module cache
increased by 0.07%.
- `SHA1`: 5% slowdown. Haven't done real size measurements, but it'd be
BLOCK_ID+20 bytes per input file, instead of BLOCK_ID+8 bytes from
`hash_code`.
- `MD5`: 3% slowdown. Like above, but BLOCK_ID+16 bytes per input file.
Given the numbers above, the patch uses `hash_code`. The patch also
improves invalidation error msgs to point out which type of problem the
user is facing: "mtime", "size" or "content".
rdar://problem/29320105
Reviewers: dexonsmith, arphaman, rsmith, aprantl
Subscribers: jkorous, cfe-commits, ributzka
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67249
> llvm-svn: 374841
llvm-svn: 374895
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/Modules/validate-file-content.m
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/PCH/validate-file-content.m
Commit defaea0b6c4cccacbaa519a66b318bc3d250e281 by digger.llvm
a test commit access
llvm-svn: 374897
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 52d2a567b5ea4f2ec6d1dd5e9b5661ca8b763eae by digger.llvm
revert git test commit
llvm-svn: 374898
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit b4638f9ff063a29e84b2d6b949ee4f7d27e4c2ab by nicolasweber
Revert 374882 "[Concepts] Concept Specialization Expressions"
This reverts commit ec87b003823d63f3342cf648f55a134c1522e612. The test
fails on Windows, see e.g.
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/11533/steps/stage%201%20check/logs/stdio
Also revert follow-up r374893.
llvm-svn: 374899
The file was removedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was addedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was removedclang/lib/Sema/SemaConcept.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
Commit ae8e69ecd0c756ea9ae69f4096027be3a36ea578 by llvmgnsyncbot
gn build: Merge r374899
llvm-svn: 374900
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit b18170660e726cc97caa35cb0c406db184d4a8a2 by kadircet
[clangd][NFC] Update comments to use triple-slashes
llvm-svn: 374901
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit d545c9056e00988d2d146f8f1440b2dd192f306b by spatel
[DAGCombiner] fold select-of-constants based on sign-bit test
Examples:
i32 X > -1 ? C1 : -1 --> (X >>s 31) | C1
i8 X < 0 ? C1 : 0 --> (X >>s 7) & C1
This is a small generalization of a fold requested in PR43650:
https://bugs.llvm.org/show_bug.cgi?id=43650
The sign-bit of the condition operand can be used as a mask for the true
operand: https://rise4fun.com/Alive/paT
Note that we already handle some of the patterns (isNegative + scalar)
because there's an over-specialized, yet over-reaching fold for that in
foldSelectCCToShiftAnd(). It doesn't use any TLI hooks, so I can't
easily rip out that code even though we're duplicating part of it here.
This fold is guarded by TLI.convertSelectOfConstantsToMath(), so it
should not cause problems for targets that prefer select over shift.
Also worth noting: I thought we could generalize this further to include
the case where the true operand of the select is not constant, but Alive
says that may allow poison to pass through where it does not in the
original select form of the code.
Differential Revision: https://reviews.llvm.org/D68949
llvm-svn: 374902
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/select-sra.ll
Commit 5d98ba6077dac656fbf023e9312d9c131d53144c by saar
[Concepts] Concept Specialization Expressions
Part of C++20 Concepts implementation effort. Added Concept
Specialization Expressions that are created when a concept is refe$
D41217 on Phabricator.
(recommit after fixing failing Parser test on windows)
llvm-svn: 374903
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was removedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was addedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was addedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was removedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
Commit 0cdf478955156b64467627a49accaff793580ea7 by llvmgnsyncbot
gn build: Merge r374903
llvm-svn: 374904
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit 263eb368694228efc155f1140779b561d1c34db4 by Adrian Prantl
Skip PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 374905
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
Commit b459be1025140e7db52de236dc91a83a3e4333d0 by Adrian Prantl
Increase gdbremote_testcase timeouts when running under ASAN.
llvm-svn: 374906
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
Commit 84423bd4396b14d5beb156807377f85d347e68b3 by saar
[Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp
Fixing accidental includes introduced in 374903
llvm-svn: 374907
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit 6e8599d939791c3751509c5ceebc29e78b61ac57 by Stanislav.Mekhanoshin
[AMDGPU] Allow DPP combiner to work with REG_SEQUENCE
Differential Revision: https://reviews.llvm.org/D68828
llvm-svn: 374908
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
Commit 034badb312bedfee9e81a933ad3ef7f0a1d8853d by dmitry.mikulin
CFI: wrong type passed to llvm.type.test with multiple inheritance
devirtualization.
Differential Revision: https://reviews.llvm.org/D67985
llvm-svn: 374909
The file was addedcompiler-rt/test/cfi/multiple-inheritance2.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was addedclang/test/CodeGenCXX/cfi-multiple-inheritance.cpp
Commit 1184c27fa586f8fe713921150146d433aae969ff by Stanislav.Mekhanoshin
[AMDGPU] Support mov dpp with 64 bit operands
We define mov/update dpp intrinsics as overloaded but do not support
i64, which is a practically useful type. Fix the selection and lowering.
Differential Revision: https://reviews.llvm.org/D68673
llvm-svn: 374910
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
Commit d9b553ec9961e95740535d3aeff62817f867767f by lawrence_danna
SBFile::GetFile: convert SBFile back into python native files.
Summary: This makes SBFile::GetFile public and adds a SWIG typemap to
convert the result back into a python native file.
If the underlying File itself came from a python file, it is returned
identically.   Otherwise a new python file object is created using the
file descriptor.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68737
llvm-svn: 374911
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/scripts/interface/SBFile.i
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
Commit 311dbb1bd7c2933e8c1f5317aa9ef8715b4fae3c by lawrence_danna
convert SBDebugger::***FileHandle() wrappers to native files.
Summary: This patch converts the swig wrappers for SetInputFileHandle()
and friends to emulate the old behavior using SetInputFile().
This will clear the way for deleting the FILE* typemaps altogether.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: mehdi_amini, dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68856
llvm-svn: 374912
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/scripts/interface/SBDebugger.i
Commit 1ab27c74d4b183454e2b7ab74c42a39f7c02cab4 by jrtc27
[lld][WebAssembly] Fix static linking of -fPIC code with external
undefined data
Reviewers: ruiu, sbc100
Reviewed By: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68991
llvm-svn: 374913
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/pic-static.ll
Commit 41ca91f2995b2dab915c1c1001adc0a26d74bf6e by digger.llvm
[AIX][XCOFF] Output XCOFF object text section header and symbol entry
for program code.
SUMMARY Original form of this patch is provided by Stefan Pintillie.
The patch try to output program code section header , symbol entry for
program code (PR) and Instruction into the raw text section. The patch
include how to alignment and layout the CSection in the text section.
The patch also reorganize the code , put some codes into a
function(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want to output raw text section data,it need a function description
patch first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374914
The file was addedllvm/test/CodeGen/PowerPC/aix-return55.ll
Commit e409f12131905a07e9286c0e191af9978e43b893 by Vedant Kumar
[llvm-profdata] Remove
tools/llvm-profdata/malformed-ptr-to-counter-array.test
This test is still failing on the ARM bots and I need time to
investigate.
llvm-svn: 374915
The file was removedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit d3bd5b3d71ae9fc3a3a45e05d5dba6b1ecbcb2f5 by lawrence_danna
eliminate virtual methods from PythonDataObjects
Summary: This patch eliminates a bunch of boilerplate from
PythonDataObjects, as well as the use of virtual methods. In my opinion
it also makes the Reset logic a lot more clear and easy to follow.   The
price is yet another template.   I think it's worth it.
Reviewers: JDevlieghere, jasonmolenda, labath, zturner
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68918
llvm-svn: 374916
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
Commit 0b9981b180ef2f08d2a97cfda2fb6ca35ad5e93c by Jonas Devlieghere
[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374917
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 35c8af1850667b284829a329568ad90f9615e630 by asbirlea
[MemorySSA] Update DomTree before applying MSSA updates.
Update on the fix in rL374850.
llvm-svn: 374918
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
Commit d69d1aa131b4cf339bfac116e50da33a5f94b861 by jonathanchesterfield
[libomptarget][nfc] Make interface.h target independent
Summary:
[libomptarget][nfc] Make interface.h target independent
Move interface.h under a top level include directory. Remove #includes
to avoid the interface depending on the implementation.
Reviewers: ABataev, jdoerfert, grokos, ronlieb, RaviNarayanaswamy
Reviewed By: jdoerfert
Subscribers: mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D68615
llvm-svn: 374919
The file was addedopenmp/libomptarget/deviceRTLs/interface.h
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/src/nvptx_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/option.h
Commit 3de89f3416bfa78079136ea6566c8f82b1b64292 by asbirlea
[NewGVN] Check that call has an access.
Check that a call has an attached MemoryAccess before calling
getClobbering on the instruction. If no access is attached, the
instruction does not access memory.
Resolves PR43441.
llvm-svn: 374920
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
The file was addedllvm/test/Transforms/NewGVN/pr43441.ll
Commit 27c7a9b157555e53fb3887e87a492f74fa8bcc56 by aaron
Add more information to JSON AST dumping of source locations.
This adds information about the offset within the source file to the
given source location as well as information about the include file a
location is from. These pieces of information allow for more efficient
post-processing of JSON AST dumps.
llvm-svn: 374921
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/test/AST/ast-dump-decl-context-json.cpp
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/test/AST/ast-dump-enum-json.cpp
The file was modifiedclang/test/AST/ast-dump-macro-json.c
The file was modifiedclang/test/AST/multistep-explicit-cast-json.c
The file was modifiedclang/test/AST/ast-dump-decl-json.c
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.m
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
The file was modifiedclang/test/AST/ast-dump-funcs-json.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/AST/ast-dump-namespace-json.cpp
The file was modifiedclang/test/AST/ast-dump-if-json.cpp
The file was modifiedclang/test/AST/ast-dump-decl-json.m
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/AST/ast-dump-comment-json.cpp
The file was modifiedclang/test/AST/ast-dump-temporaries-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.c
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/test/AST/ast-dump-types-json.cpp
The file was modifiedclang/test/AST/multistep-explicit-cast-json.cpp
The file was addedclang/test/AST/Inputs/json-dump-include.h
Commit 59390efef2599a268f2249f7d3f80111952d53ff by dave
[X86] Make memcmp() use PTEST if possible and also enable AVX1
llvm-svn: 374922
The file was modifiedllvm/test/CodeGen/X86/memcmp-minsize.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/setcc-wide-types.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit fdfd6ab12e5e2ad3f6641a3b4442b3140212d29b by digger.llvm
[XCOFF] Output object text section header and symbol entry for program
code.
This is remaining part of  rG41ca91f2995b: [AIX][XCOFF] Output XCOFF
object text section header and symbol entry for rogram code.
SUMMARY: Original form of this patch is provided by Stefan Pintillie.
1. The patch try to output program code section header , symbol entry
for
program code (PR) and Instruction into the raw text section. 2. The
patch include how to alignment and layout the CSection in the text
section. 3. The patch also reorganize the code , put some codes into a
function.
(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want
to output raw text section data,it need a function description patch
first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374923
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
The file was modifiedllvm/include/llvm/MC/MCSectionXCOFF.h
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lcomm.ll
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
Commit 30cf609548d9379178ef618d9c8790459221ed22 by lawrence_danna
remove FILE* usage from SBStream.i
Summary: This patch removes FILE* and replaces it with SBFile and FileSP
the SWIG interface for `SBStream.i`.   And this is the last one.   With
this change, nothing in the python API will can access a FILE* method on
the C++ side.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68960
llvm-svn: 374924
The file was modifiedlldb/scripts/interface/SBStream.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/source/API/SBStream.cpp
Commit c1157d1e77c30f9431e09e599afbb788d5894910 by sivachandra
[libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF.
Reviewers: nathanchance
Subscribers: mgorny, tschuett, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D68726
llvm-svn: 374925
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
Commit f8907fa6f4b77b5daddb796d16cceca64e3f7cbe by Jan Korous
Reland [Driver] Fix -working-directory issues
Don't change the default VFS in Driver, update tests & reland.
This reverts commit 999f8a7416f8edc54ef92e715fd23c532bcc74d4.
llvm-svn: 374926
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/test/Driver/working-directory.c
The file was modifiedclang/test/Driver/gen-cdb-fragment.c
The file was modifiedclang/lib/Driver/Driver.cpp
Commit c7ec51a7c3ede8c1024b90d5fdc91979a9f01bf8 by Vedant Kumar
[llvm-profdata] Reinstate
tools/llvm-profdata/malformed-ptr-to-counter-array.test
I removed this test to unblock the ARM bots while looking into failures
(r374915), and am reinstating it now with a fix.
I believe the problem was that counter ptr address I used,
'\0\0\6\0\1\0\0\1', set the high bits of the pointer, not the low bits
like I wanted. On x86_64 this superficially looks like it tests r370826,
but it doesn't, as it would have been caught before r370826. However, on
ARM (or, 32-bit hosts more generally), I suspect the high bits were
cleared, and you get a 'valid' profile.
I verified that setting the *low* bits of the pointer does trigger the
new condition:
-// Note: The CounterPtr here is off-by-one. This should trigger a
malformed profile error.
-RUN: printf '\0\0\6\0\1\0\0\1' >> %t.profraw
+// Note: The CounterPtr here is off-by-one.
+//
+// Octal '\11' is 9 in decimal: this should push CounterOffset to 1. As
there are two counters,
+// the profile reader should error out.
+RUN: printf '\11\0\6\0\1\0\0\0' >> %t.profraw
This reverts commit c7cf5b3e4b918c9769fd760f28485b8d943ed968.
llvm-svn: 374927
The file was addedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit 50dc09dd1640f9d0e16f7c1351f068f3f0711db2 by llvm-dev
[X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs
call from the resolveTargetShuffleAndZeroables call.
Exposes an issue in getFauxShuffleMask where the OR(SHUFFLE,SHUFFLE)
decode should always resolve zero/undef elements.
Part of the fix for PR43024 where ideally we shouldn't call
resolveTargetShuffleAndZeroables for Depth == 0
llvm-svn: 374928
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9e49adc97574ca777e7ab8ec90a88a8b68ca1558 by Jan Korous
Fix Driver/working-directory.c test
Accidentally committed debug print.
llvm-svn: 374929
The file was modifiedclang/test/Driver/working-directory.c
Commit 621ce3790ba254256222addad60d818cb90ac831 by Jonas Devlieghere
[test] Update YAML mapping in VirtualFileSystemTest
The 'bar' directory should be part of the root rather than the file
itself.
llvm-svn: 374930
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit eb501b1fc17783f548e7d337521161cbd9ff7ddd by rupprecht
[llvm-objdump] Use a counter for llvm-objdump -h instead of the section
index.
Summary: When listing the index in `llvm-objdump -h`, use a zero-based
counter instead of the actual section index (e.g. shdr->sh_index for
ELF).
While this is effectively a noop for now (except one unit test for
XCOFF), the index values will change in a future patch that filters
certain sections out (e.g. symbol tables). See D68669 for more context.
Note: the test case in `test/tools/llvm-objdump/X86/section-index.s`
already covers the case of incrementing the section index counter when
sections are skipped.
Reviewers: grimar, jhenderson, espindola
Reviewed By: grimar
Subscribers: emaste, sbc100, arichardson, aheejin, arphaman, seiya,
llvm-commits, MaskRay
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68848
llvm-svn: 374931
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/xcoff-section-headers.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
Commit 0650355c09ab8e6605ae37b818270a7a7c8ce2c7 by caij2003
[clang] refactor -Wa,-W test cases.
Remove REQUIRES and only keep the clang driver tests, since the
assembler are already tested with -Wa,--no-warn. This way we could run
the test on non-linux platforms and catch breaks on them.
llvm-svn: 374932
The file was modifiedclang/test/Driver/as-w-option.c
Commit 2cb27072cefb11d5018735a3b70a903dc1d319ac by tlively
[WebAssembly] Allow multivalue types in block signature operands
Summary: Renames `ExprType` to the more apt `BlockType` and adds a
variant for multivalue blocks. Currently non-void blocks are only
generated at the end of functions where the block return type needs to
agree with the function return type, and that remains true for
multivalue blocks. That invariant means that the actual signature does
not need to be stored in the block signature `MachineOperand` because it
can be inferred by `WebAssemblyMCInstLower` from the return type of the
parent function. `WebAssemblyMCInstLower` continues to lower block
signature operands to immediates when possible but lowers multivalue
signatures to function type symbols. The AsmParser and Disassembler are
updated to handle multivalue block types as well.
Reviewers: aheejin, dschuff, aardappel
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68889
llvm-svn: 374933
The file was modifiedllvm/tools/llvm-mc/Disassembler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.h
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/test/MC/WebAssembly/basic-assembly.s
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/test/MC/Disassembler/WebAssembly/wasm-error.txt
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/LLVMBuild.txt
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
Commit f14642f2f185f9af290f9fcace4851adbbe16432 by dmitry.mikulin
Added support for "#pragma clang section relro=<name>"
Differential Revision: https://reviews.llvm.org/D68806
llvm-svn: 374934
The file was modifiedclang/docs/LanguageExtensions.rst
The file was addedllvm/test/MC/ELF/section-relro.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/Sema/pragma-clang-section.c
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedllvm/include/llvm/IR/GlobalVariable.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
Commit 409b4b5fb39efc775762f3391062d2258c073add by Jonas Devlieghere
Revert "[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS"
This reverts the original commit and the follow up:
Revert "[VirtualFileSystem] Support virtual working directory in the
RedirectingFS" Revert "[test] Update YAML mapping in
VirtualFileSystemTest"
llvm-svn: 374935
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 215a8d948d6600dcbfd68dfc8d5331a86b1d5591 by rnk
Fix as-w-option.c on Windows where no assembler exists
llvm-svn: 374936
The file was modifiedclang/test/Driver/as-w-option.c
Commit 5836c356fa6e17d0e10a2f9e0e111b7236dc15fb by serguei.n.dmitriev
[Clang][OpenMP Offload] Move offload registration code to the wrapper
The final list of OpenMP offload targets becomes known only at the link
time and since offload registration code depends on the targets list it
makes sense to delay offload registration code generation to the link
time instead of adding it to the host part of every fat object. This
patch moves offload registration code generation from clang to the
offload wrapper tool.
This is the last part of the OpenMP linker script elimination patch
https://reviews.llvm.org/D64943
Differential Revision: https://reviews.llvm.org/D68746
llvm-svn: 374937
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/Driver/clang-offload-wrapper.c
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
Commit 0330fba6e16db9b5d2079313646f93485c5ccf39 by saar
[Concept] Associated Constraints Infrastructure
Add code to correctly calculate the associated constraints of a template
(no enforcement yet). D41284 on Phabricator.
llvm-svn: 374938
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/var-template-decl.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/func-template-decl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was addedclang/test/CXX/temp/concept/p4.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/DeclTemplate.cpp
Commit 190dacc3cc206fa90a44e2f4aa6b56c327d1942a by tlively
[WebAssembly] Elide data segments for .bss sections
Summary: WebAssembly memories are zero-initialized, so when module does
not import its memory initializing .bss sections is guaranteed to be a
no-op. To reduce binary size and initialization time, .bss sections are
simply not emitted into the final binary unless the memory is imported.
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68965
llvm-svn: 374940
The file was modifiedlld/test/wasm/data-layout.ll
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/Inputs/locals-duplicate2.ll
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/Inputs/locals-duplicate1.ll
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/OutputSegment.h
The file was addedlld/test/wasm/bss-only.ll
The file was modifiedlld/test/wasm/data-segments.ll
The file was modifiedlld/test/wasm/custom-section-name.ll
The file was modifiedlld/wasm/OutputSections.h
Commit 1875dcc47887b2ba582e26b7014ba1eaa82ea1de by digger.llvm
[llvm-readobj][xcoff] implement parsing overflow section header.
SUMMARY: in the xcoff, if the number of relocation entries or line
number entries is overflow(large than or equal 65535) , there will be
overflow section for it. The interpret of overflow section is different
with generic section header, the patch implement parsing the overflow
section.
Reviewers: hubert.reinterpretcast,sfertile,jasonliu Subscribers:
rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D68575
llvm-svn: 374941
The file was addedllvm/test/tools/llvm-readobj/xcoff-overflow-section.test
The file was addedllvm/test/tools/llvm-readobj/Inputs/xcoff-reloc-overflow.o
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
Commit 3a842ec3ca4dffc1f8da88121c239b6dbb2209f0 by a.bataev
[OPENMP]Allow final clause in combined task-based directives. The
condition of the final clause must be captured in the combined
task-based directives, like 'parallel master taskloop' directive.
llvm-svn: 374942
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
Commit d498d606b98179f96b33683e296f8c09568028bd by a.bataev
[OPENMP]Fix comments/params, NFC.
llvm-svn: 374943
The file was modifiedclang/include/clang/AST/OpenMPClause.h
Commit 527e9f9a3f939b2fdb296da9e0e7bbe79b8f4a44 by Austin.Kerbow
AMDGPU: Fix infinite searches in SIFixSGPRCopies
Summary: Two conditions could lead to infinite loops when processing PHI
nodes in SIFixSGPRCopies.
The first condition involves a REG_SEQUENCE that uses registers defined
by both a PHI and a COPY.
The second condition arises when a physical register is copied to a
virtual register which is then used in a PHI node. If the same virtual
register is copied to the same physical register, the result is an
endless loop.
%0:sgpr_64 = COPY $sgpr0_sgpr1
%2 = PHI %0, %bb.0, %1, %bb.1
$sgpr0_sgpr1 = COPY %0
Reviewers: alex-t, rampitec, arsenm
Reviewed By: rampitec
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68970
llvm-svn: 374944
The file was modifiedllvm/test/CodeGen/AMDGPU/fix-sgpr-copies.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 4f2f9c00b978e45a0bb4c229912359e84ad6af11 by shal1t712
[llvm-lipo] Add missing cast
Add missing cast (to correctly sum 32-bit integers).
Test plan: make check-all
llvm-svn: 374945
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
Commit 34d4bff3d6d7cc521b06679536b0273c00bb0b3b by digger.llvm
[XCOFF]implement parsing relocation information for 32-bit xcoff object
file
Summary:
   Parsing the relocation entry information for 32-bit xcoff object file
including deal with the relocation overflow.
Reviewers: hubert.reinterpretcast, jasonliu, sfertile, xingxue.
Subscribers: hiraditya, rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D67008
llvm-svn: 374946
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was addedllvm/test/tools/llvm-readobj/reloc_overflow.test
The file was modifiedllvm/test/tools/llvm-readobj/xcoff-basic.test
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
Commit 74b285eee7288500f6041c0fa49413c8ead217f4 by jlettner
[lit] Add back LitTestCase
This essentially reverts a commit [1] that removed the adaptor for
Python unittests.  The code has been slightly refactored to make it more
additive: all code is contained in LitTestCase.py.
Usage sites will require a small adaption:
```
[old]
import lit.discovery
...
test_suite = lit.discovery.load_test_suite(...)
[new]
import lit.LitTestCase
...
test_suite = lit.LitTestCase.load_test_suite(...)
```
This was put back on request by Daniel Dunbar, since I wrongly assumed
that the functionality is unused.  At least llbuild still uses this [2].
[1] 70ca752ccf6a8f362aea25ccd3ee2bbceca93b20
[2]
https://github.com/apple/swift-llbuild/blob/master/utils/Xcode/LitXCTestAdaptor/LitTests.py#L16
Reviewed By: ddunbar
Differential Revision: https://reviews.llvm.org/D69002
llvm-svn: 374947
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-one.txt
The file was addedllvm/utils/lit/lit/LitTestCase.py
The file was addedllvm/utils/lit/tests/unittest-adaptor.py
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-two.txt
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/lit.cfg
Commit c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e by Lang Hames
[JITLink] Switch to slab allocation for InProcessMemoryManager,
re-enable test.
InProcessMemoryManager used to make separate memory allocation calls for
each permission level (RW, RX, RO), which could lead to
target-out-of-range errors if data and code were placed too far apart
(this was the source of failures in the JITLink/AArch64 testcase when it
was first landed).
This patch updates InProcessMemoryManager to allocate a single slab
which is subdivided between text and data. This should guarantee that
accesses remain in-range provided that individual object files do not
exceed 1Mb in size. This patch also re-enables the JITLink/AArch64
testcase.
llvm-svn: 374948
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
The file was modifiedllvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
Commit 75b991ebdf85f2a7a8914abbc2a1bbf2071ab786 by d4m1887
[Docs] Updates sidebar links and sets max-width property for div.body
Updates the sidebar links for Getting Started. Also sets max-width on
div.body to 1000px.
llvm-svn: 374949
The file was modifiedllvm/docs/_templates/indexsidebar.html
The file was modifiedllvm/docs/_themes/llvm-theme/static/llvm-theme.css
Commit a98546ebcd2a692e0634c5b1a7e77471316ab6e0 by Lang Hames
[Orc] Add a method for ObjectLinkingLayer to return ownership of object
buffers.
RTDyldObjectLinkingLayer allowed clients to register a NotifyEmitted
function to reclaim ownership of object buffers once they had been
linked. This patch adds similar functionality to ObjectLinkingLayer:
Clients can now optionally call the
ObjectLinkingLayer::setReturnObjectBuffer method to register a function
that will be called when discarding object buffers. If set, this
function will be called to return ownership of the object regardless of
whether the link succeeded or failed.
Use cases for this function include debug dumping (it provides a way to
dump all objects linked into JIT'd code) and object re-use (e.g. storing
an object in a cache).
llvm-svn: 374951
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Commit 666f977166541f1c71f64357a3157c56ecec8faf by richard-llvm
Remove unnecessary and inappropriate forward-declaration of Sema from
AST.
llvm-svn: 374952
The file was modifiedclang/include/clang/AST/ExprCXX.h
Commit 208e9c01fc094cedbcf47f39a902cff13dce0039 by hhb
[lldb] Creates _liblldb symlink from cmake
Summary: This is another attempt of D67993.
This change removed hard coded relative paths. This way we can generate
correct result when get_python_lib() returns a different path, or
LLDB_PYTHON_RELATIVE_PATH is specified directly.
By moving things out of python, we are also able to correctly process
more cross compile situations. E.g. .pyd vs .so for Windows.
Subscribers: lldb-commits, mgorny
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68858
llvm-svn: 374953
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
Commit 61dadfc894c566ce0af6163159ba0ba76d8007ad by richard-llvm
PR43674: fix incorrect constant evaluation of 'switch' where no case
label corresponds to the condition.
llvm-svn: 374954
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp
Commit 21703543a77dfae0e7a4dc45d4c3c4eed0308953 by Jonas Devlieghere
[Reland][VirtualFileSystem] Support virtual working directory in the
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374955
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 20c692a44555dc6e4ffee66a874e63c382e925df by Jonas Devlieghere
[dsymutil] Support and relocate base address selection entries for
debug_loc
Since r374600 clang emits base address selection entries. Currently
dsymutil does not support these entries and incorrectly interprets them
as location list entries.
This patch adds support for base address selection entries in dsymutil
and makes sure they are relocated correctly.
Thanks to Dave for coming up with the test case!
Differential revision: https://reviews.llvm.org/D69005
llvm-svn: 374957
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.o
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.x86_64
The file was addedllvm/test/tools/dsymutil/X86/debug-loc-base-addr.test
Commit 4d1ecadda59ce82e5fa6e28dd15bf794eee88363 by jlettner
[ASan] Refine diagnoses messages
The provided PC is not reliable in every case, so don't suggest
something that does not make sense.
llvm-svn: 374959
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp

Summary

  1. Refactored ClangLTOBuilder to support github. (details)
Commit bdb8efb160db242c1897a532e4a3e42fc0d968ea by gkistanova
Refactored ClangLTOBuilder to support github.
llvm-svn: 374956
The file was modifiedzorg/buildbot/builders/ClangLTOBuilder.py