1. [Concepts] Fix circular AST->Sema dependency in ASTConcept.cpp (details)
  2. Revert "[Concepts] Placeholder constraints and abbreviated templates" (details)
  3. [llvm] NFC: fix trivial typos in documents (details)
  4. [libcxxabi] NFC: Fix trivial typos in comments (details)
  5. [ORC] Add support for emulated TLS to ORCv2. (details)
  6. [clang][IFS][test] Temporary work around for in-process cc1 ASAN issues. (details)
  7. [ORC] Fix a missing move in ce2207abaf9. (details)
  8. Resubmit: [AMDGPU] Invert the handling of skip insertion. (details)
  9. [AMDGPU] SIRemoveShortExecBranches should not remove branches exiting (details)
  10. [gn build] Port e53a9d96e6a (details)
  11. [ORC] Update examples to incorporate changes in ce2207abaf9. (details)
  12. [DA][TTI][AMDGPU] Add option to select GPUDA with TTI (details)
  13. Update clang-interpreter example to incorporate changes in ce2207abaf9. (details)
  14. [LICM] Don't cache AliasSetTrackers when run under legacy PM (details)
  15. [lldb/Initializers] Move all ObjC initializers into AppleObjCRuntime (details)
  16. [ORC] Fix the LLJITWithObjectCache example to address changes in (details)
  17. [AArch64][GlobalISel] Fix llvm.returnaddress(0) selection when LR is (details)
  18. [lldb] Add a display name to ClangASTContext instances (details)
  19. [VE] i<N> and fp32/64 arguments, return values and constants (details)
  20. [Concepts] Fix incorrect recovery in TryAnnotateTypeConstraint (details)
Commit bb9b964072eb42a09e76fe148b36eefcfff077b2 by saar
[Concepts] Fix circular AST->Sema dependency in ASTConcept.cpp
Remove inappropriate Sema include in ASTConcept.cpp introduced by D72552
for the finer-grained includes actually needed.
The file was modifiedclang/lib/AST/ASTConcept.cpp
Commit 62e4b501ab3bc4c5815a179fdd2c4b49574506c1 by Jonas Devlieghere
Revert "[Concepts] Placeholder constraints and abbreviated templates"
This temporarily reverts commit e03ead6771fc97b11cb0c94b7f023142184ad25f
because it breaks LLDB.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was removedclang/test/Parser/cxx2a-placeholder-type-constraint.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was removedclang/test/CXX/dcl/dcl.fct/p17.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was removedclang/test/CXX/dcl/dcl.spec/dcl.type/
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/include/clang/AST/
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Sema/ScopeInfo.h
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/test/SemaCXX/cxx1y-generic-lambdas.cpp
The file was modifiedclang/include/clang/Sema/Scope.h
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/AST/TemplateBase.h
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/include/clang/AST/
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/lib/AST/TemplateBase.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
Commit f65d4aa96082778dc4af4657519d4d1aebbdf4da by tclin914
[llvm] NFC: fix trivial typos in documents
Reviewers: hans, Jim
Reviewed By: Jim
Subscribers: jvesely, nhaehnle, mgorny, arphaman, bmahjour, kerbowa,
Tags: #llvm
Differential Revision:
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX9.rst
The file was modifiedllvm/docs/CommandGuide/tblgen.rst
The file was modifiedllvm/docs/LibFuzzer.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX906.rst
The file was modifiedllvm/docs/tutorial/BuildingAJIT1.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX7.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX904.rst
The file was modifiedllvm/docs/SourceLevelDebugging.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX900.rst
The file was modifiedllvm/docs/Extensions.rst
The file was modifiedllvm/docs/Frontend/PerformanceTips.rst
The file was modifiedllvm/docs/CodeGenerator.rst
The file was modifiedllvm/docs/GettingStarted.rst
The file was modifiedllvm/docs/BigEndianNEON.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX10.rst
The file was modifiedllvm/docs/YamlIO.rst
The file was modifiedllvm/docs/Bugpoint.rst
The file was modifiedllvm/docs/TableGen/LangRef.rst
The file was modifiedllvm/docs/Atomics.rst
The file was modifiedllvm/docs/HowToBuildOnARM.rst
The file was modifiedllvm/docs/Proposals/VariableNames.rst
The file was modifiedllvm/docs/TransformMetadata.rst
The file was modifiedllvm/docs/CodingStandards.rst
The file was modifiedllvm/docs/XRayFDRFormat.rst
The file was modifiedllvm/docs/HowToCrossCompileBuiltinsOnArm.rst
The file was modifiedllvm/docs/ReleaseProcess.rst
The file was modifiedllvm/docs/tutorial/OCamlLangImpl3.rst
The file was modifiedllvm/docs/BlockFrequencyTerminology.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX908.rst
The file was modifiedllvm/docs/DeveloperPolicy.rst
The file was modifiedllvm/docs/GwpAsan.rst
The file was modifiedllvm/docs/CMakePrimer.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX8.rst
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/docs/CoverageMappingFormat.rst
The file was modifiedllvm/docs/ORCv2.rst
The file was modifiedllvm/docs/tutorial/BuildingAJIT2.rst
The file was modifiedllvm/docs/MarkedUpDisassembly.rst
The file was modifiedllvm/docs/ProgrammersManual.rst
The file was modifiedllvm/docs/Proposals/TestSuite.rst
The file was modifiedllvm/docs/FuzzingLLVM.rst
The file was modifiedllvm/docs/ReportingGuide.rst
The file was modifiedllvm/docs/CompileCudaWithLLVM.rst
The file was modifiedllvm/docs/Proposals/GitHubMove.rst
The file was modifiedllvm/docs/CommandGuide/lit.rst
The file was modifiedllvm/docs/GlobalISel/GenericOpcode.rst
The file was modifiedllvm/docs/DependenceGraphs/index.rst
The file was modifiedllvm/docs/MemTagSanitizer.rst
Commit dac7cda3a84e5405f7dd915f09c336d20dfdf00d by tclin914
[libcxxabi] NFC: Fix trivial typos in comments
Reviewers: EricWF, mclow.lists, Jim
Reviewed By: Jim
Subscribers: mgorny, christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision:
The file was modifiedlibcxxabi/src/CMakeLists.txt
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
Commit ce2207abaf9a925b35f15ef92aaff6b301ba6d22 by Lang Hames
[ORC] Add support for emulated TLS to ORCv2.
This commit adds a ManglingOptions struct to IRMaterializationUnit, and
replaces IRCompileLayer::CompileFunction with a new
IRCompileLayer::IRCompiler class. The ManglingOptions struct defines the
emulated-TLS state (via a bool member, EmulatedTLS, which is true if
emulated-TLS is enabled and false otherwise). The
IRCompileLayer::IRCompiler class wraps an IRCompiler (the same way that
the CompileFunction typedef used to), but adds a method to return the
IRCompileLayer::ManglingOptions that the compiler will use.
These changes allow us to correctly determine the symbols that will be
produced when a thread local global variable defined at the IR level is
compiled with or without emulated TLS. This is required for ORCv2, where
MaterializationUnits must declare their interface up-front.
Most ORCv2 clients should not require any changes. Clients writing
custom IR compilers will need to wrap their compiler in an
IRCompileLayer::IRCompiler, rather than an
IRCompileLayer::CompileFunction, however this should be a
straightforward change (see modifications to CompileUtils.* in this
patch for an example).
The file was addedllvm/test/ExecutionEngine/OrcLazy/emulated-tls.ll
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Speculation.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/IRCompileLayer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/IRTransformLayer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Layer.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Layer.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
Commit c38e42527b21acee8d01a016d5bfa2fb83202e29 by puyan
[clang][IFS][test] Temporary work around for in-process cc1 ASAN issues.
When using in-process cc1, the Clang Interface Stubs pipeline setup
exposes an ASAN bug. I am still investigating this issue but want to
green the bots for now. I don't think this is a huge issue since the
Clang Interface Stubs Driver setup code is the only code path that sets
up such a pipeline (ie N cc1's for N c files followed by another N cc1's
for to generate stub files for the same N c files).
This issue is being discussed in If a
resolution is not found soon, a bugzilla filling will be in order.
The file was modifiedclang/test/InterfaceStubs/driver-test2.c
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit e0a6093a744d16c90eafa62d7143ce41806b2466 by Lang Hames
[ORC] Fix a missing move in ce2207abaf9.
This should fix the build failure at
and others.
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
Commit e53a9d96e6a074aa7f81ec104eb18e82997c7206 by carl.ritson
Resubmit: [AMDGPU] Invert the handling of skip insertion.
The current implementation of skip insertion (SIInsertSkip) makes it a
mandatory pass required for correctness. Initially, the idea was to have
an optional pass. This patch inserts the s_cbranch_execz upfront during
SILowerControlFlow to skip over the sections of code when no lanes are
active. Later, SIRemoveShortExecBranches removes the skips for short
branches, unless there is a sideeffect and the skip branch is really
This new pass will replace the handling of skip insertion in the
existing SIInsertSkip Pass.
Differential revision:
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-cfg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-condition-and.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-kill-uncond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was addedllvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/convergent-inlineasm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-gws.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-taildup-ret.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hoist-cond.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-ignored-insts.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/else.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-trap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ret_jump.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-skip.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
Commit 6b4b3e2856dc6037ae79947a60a02a4d3e94e9e2 by carl.ritson
[AMDGPU] SIRemoveShortExecBranches should not remove branches exiting
Summary: Check that a s_cbranch_execz is not a loop exit before removing
it. As the pass is generating infinite loops.
Reviewers: cdevadas, arsenm, nhaehnle
Reviewed By: nhaehnle
Subscribers: kzhuravl, jvesely, wdng, yaxunl, tpr, t-tye, hiraditya,
kerbowa, llvm-commits, dstuttard, foad
Tags: #llvm
Differential Revision:
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
Commit debd2dcd098a581fc0ef2c0de5e2b06439e105f4 by llvmgnsyncbot
[gn build] Port e53a9d96e6a
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/
Commit 98e55477558a823b1045b54d5a09681a3c0b819a by Lang Hames
[ORC] Update examples to incorporate changes in ce2207abaf9.
This should fix the builders that were failing due to broken JIT
examples after ce2207abaf9.
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
Commit a90a6502ab35d3c15c7d56772e409c5632ce6cfb by Austin.Kerbow
[DA][TTI][AMDGPU] Add option to select GPUDA with TTI
Summary: Enable the new diveregence analysis by default for AMDGPU.
Reviewers: rampitec, nhaehnle, arsenm
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye,
hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/include/llvm/Analysis/LegacyDivergenceAnalysis.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
Commit b54aa053d3aeeab0cdaecb6286419138b7da5ef4 by Lang Hames
Update clang-interpreter example to incorporate changes in ce2207abaf9.
The file was modifiedclang/examples/clang-interpreter/main.cpp
Commit 7bdc83f34016bb0288f7af6fffa244bfeb285d04 by suc-daniil
[LICM] Don't cache AliasSetTrackers when run under legacy PM
Summary: This is the first step towards complete removal of AST caching
from LICM. Attempts to keep LICM's AST cache up to date across passes
can lead to miscompiles like this one:
LICM has already switched to using MemorySSA to do sinking and hoisting
and only builds an AliasSetTracker on demand for the promoteToScalars
step, without caching it from one LICM instance to the next. Given this,
we don't have compile-time reasons to keep AST caching any more. The
only scenario where the caching would be used currently is when using
the LegacyPassManager and setting -enable-mssa-loop-dependency=false.
This switch should help us to surface any possible issues that may arise
along this way, also it turns subsequent removal of AST caching into
Reviewers: asbirlea, fhahn, efriedma, reames
Reviewed By: asbirlea
Subscribers: hiraditya, george.burgess.iv, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit 1d1ebb9e592bea931845296dd80a46fb46af2642 by Jonas Devlieghere
[lldb/Initializers] Move all ObjC initializers into AppleObjCRuntime
AppleObjCRuntime is the main entry point to the plugin with the same
name. This is part of a greater refactoring to auto generate the
initializers. NFC.
Differential revision:
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
Commit 97d000da2e6025600c4709d611e853eb1d5d407c by Lang Hames
[ORC] Fix the LLJITWithObjectCache example to address changes in
The file was modifiedllvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
Commit 2e25d75aaa2280c3128c8dd6349f8b605207b94d by Amara Emerson
[AArch64][GlobalISel] Fix llvm.returnaddress(0) selection when LR is
The code was originally ported from SelectionDAG, which does CSE behind
the scenes automatically. When copying the return address from LR live
into the function, we need to make sure to use the single copy on
function entry. Any later copy from LR could be using clobbered junk.
Implement this by caching the copy in the per-MF state in the selector.
Should hopefully fix the AArch64 sanitiser buildbot failure.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit c9a39a896c95402ede07061380346c725556e308 by Raphael Isemann
[lldb] Add a display name to ClangASTContext instances
Summary: I often struggle to understand what exactly LLDB is doing by
looking at our expression evaluation logging as our messages look like
``` CompleteTagDecl[2] on (ASTContext*)0x7ff31f01d240 Completing
(TagDecl*)0x7ff31f01d568 named DeclName1
From the log messages it's unclear what this ASTContext is. Is it the
scratch context, the expression context, some decl vendor context or a
context from a module? The pointer value isn't helpful for anyone unless
I'm in a debugger where I could inspect the memory at the address. But
even with a debugger it's not easy to figure out what this ASTContext is
without having deeper understanding about all the different ASTContext
instances in LLDB (e.g., valid SourceLocation from the file system
usually means that this is the Objective-C decl vendor, a file name from
multiple expressions is probably the scratch context, etc.).
This patch adds a name field to ClangASTContext instances that we can
use to store a name which can be used for logging and debugging. With
this our log messages now look like this:
``` CompleteTagDecl[2] on scratch ASTContext. Completing
(TagDecl*)0x7ff31f01d568 named Foo
``` We can now also just print a ClangASTContext from the debugger and
see a useful name in the `m_display_name` field, e.g.
m_display_name = "AST for /Users/user/test/main.o";
Reviewers: shafik, labath, JDevlieghere, mib
Reviewed By: shafik
Subscribers: clayborg, lldb-commits
Tags: #lldb
Differential Revision:
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/unittests/TestingSupport/Symbol/ClangTestUtils.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
Commit 3a906a9f4e6b51130d9a1bdd5f9a7ec3705d3faa by simon.moll
[VE] i<N> and fp32/64 arguments, return values and constants
Summary: Support for i<N> and fp32/64 arguments (in register), return
values and constants along with tests.
Reviewed By: arsenm
Differential Revision:
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was removedllvm/test/CodeGen/VE/constants_i64.ll
The file was addedllvm/test/CodeGen/VE/cast.ll
The file was modifiedllvm/lib/Target/VE/
The file was modifiedllvm/lib/Target/VE/
The file was modifiedllvm/lib/Target/VE/
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.cpp
The file was addedllvm/test/CodeGen/VE/constants.ll
The file was modifiedllvm/lib/Target/VE/
The file was modifiedllvm/lib/Target/VE/VEISelLowering.h
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
Commit de51559fa68049da73b696a4e89468154b12852a by saar
[Concepts] Fix incorrect recovery in TryAnnotateTypeConstraint
TryAnnotateTypeConstraint would not put the scope specifier back into
the token stream when faced with a non-concept name after a scope
The file was modifiedclang/lib/Parse/ParseTemplate.cpp