Changes

Summary

  1. [llvm-readelf/llvm-readobj] - Remove getSecTypeName() helper. (details)
  2. Avoid triple corruption while merging core info (details)
  3. [MIBundle] Turn MachineOperandIteratorBase into a forward iterator. (details)
  4. [MCRegInfo] Add forward sub and super register iterators. (NFC) (details)
  5. [ORC] Remove the automagic Main JITDylib fram ExecutionSession. (details)
  6. [clangd] Fix an incorrect comment, NFC. (details)
  7. [LLD][ELF] Add support for PT_GNU_PROPERTY (details)
  8. [Checkers] Added support for freopen to StreamChecker. (details)
  9. Reland "[LiveDebugValues] Introduce entry values of unmodified params" (details)
  10. [LLD][ELF][AArch64] .note.gnu.property sections should have alignment 8 (details)
  11. [AArch64][SVE] Implement element count intrinsics (details)
  12. [lldb] Don't put compile unit name into the support file list and (details)
  13. Fix the clang interpreter example which was broken by 4fc68b9b7f3e0. (details)
  14. [DebugInfo] Handle call site values for instructions before call bundle (details)
  15. [clangd] More unittests for cross-file rename. (details)
  16. [LiveDebugValues] Silence the unused var warning; NFC (details)
  17. [llvm/DWARF] Return section offset from (details)
  18. [lldb/cpluspluslanguage] Add constructor substitutor (details)
  19. Reapply af57dbf12e54 "Add support for options -frounding-math, (details)
  20. [lldb/DWARF] Switch to llvm debug_rnglists parser (details)
  21. [AST] Enable expression of OpenCL language address spaces an attribute (details)
  22. [InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C)` fold to non-splat (details)
  23. Also check /Fo when deciding on the .gcna / .gcda filename (PR44208) (details)
  24. [lldb][NFC] Move Address and AddressRange functions out of Stream and (details)
  25. [AST] Traverse the class type loc inside the member type loc. (details)
  26. [ARM] Enable TypePromotion by default (details)
  27. gn build: Merge 7f93cb62280 (details)
  28. [clangd] Simplify the code, NFC. (details)
Commit e00e5d3347a37d0eda8429a32e3bee68f7bdf970 by grimar
[llvm-readelf/llvm-readobj] - Remove getSecTypeName() helper.
We do not need it, we have
`object::getELFSectionTypeName` that can be used instead.
Differential revision: https://reviews.llvm.org/D71017
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 8b8185bb1b456e0ccf7b1ed1f00bc646853ab004 by omair.javaid
Avoid triple corruption while merging core info
Summary: This patch fixes a bug where when target triple created from
elf information is arm-*-linux-eabihf and platform triple is
armv8l-*-linux-gnueabihf. Merging both triple results in
armv8l--unknown-unknown.
This happens because we order a triple update while calling CoreUpdated
and CoreUpdated creates a new triple with no vendor or environment
information.
Making sure we do not update triple and just update to more specific
core fixes the issue.
Reviewers: labath, jasonmolenda, clayborg
Reviewed By: jasonmolenda
Subscribers: jankratochvil, kristof.beyls, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70155
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/unittests/Utility/ArchSpecTest.cpp
Commit 1b81964586b4f0fde94f4d238be659bedd85b627 by flo
[MIBundle] Turn MachineOperandIteratorBase into a forward iterator.
This patch turns MachineOperandIteratorBase into a regular forward
iterator, which can be used with iterator_range.
It also adds mi_bundle_ops and const_mi_bundle_ops that return iterator
ranges over all operands in a bundle and updates a use of the old
iterator.
Reviewers: evandro, t.p.northover, paquette, MatzeB, arsenm
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D70561
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBundle.h
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 76a5c8421e04b246892157fe18f1c082c908c5e9 by flo
[MCRegInfo] Add forward sub and super register iterators. (NFC)
This patch adds forward iterators mc_difflist_iterator,
mc_subreg_iterator and mc_superreg_iterator, based on the existing
DiffListIterator. Those are used to provide iterator ranges over sub-
and super-register from TRI, which are slightly more convenient than the
existing MCSubRegIterator/MCSuperRegIterator. Unfortunately, it
duplicates a bit of functionality, but the new iterators are a bit more
convenient (and can be used with various existing iterator utilities)
and should probably replace the old iterators in the future.
This patch updates some existing users.
Reviewers: evandro, qcolombet, paquette, MatzeB, arsenm
Reviewed By: qcolombet
Differential Revision: https://reviews.llvm.org/D70565
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
The file was modifiedllvm/lib/CodeGen/RegisterScavenging.cpp
The file was modifiedllvm/include/llvm/MC/MCRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
Commit 4fc68b9b7f3e07ea4425c6111e1a9455cf4aa322 by Lang Hames
[ORC] Remove the automagic Main JITDylib fram ExecutionSession.
This patch removes the magic "main" JITDylib from ExecutionEngine. The
main JITDylib was created automatically at ExecutionSession construction
time, and all subsequently created JITDylibs were added to the main
JITDylib's links-against list by default. This saves a couple of lines
of boilerplate for simple JIT setups, but this isn't worth introducing
magical behavior for.
ORCv2 clients should now construct their own main JITDylib using
ExecutionSession::createJITDylib and set up its linkages manually using
JITDylib::setSearchOrder (or related methods in JITDylib).
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit 60d7e723e3ac5223f1a2f6594a93a9fdfb3e69a7 by hokein.wu
[clangd] Fix an incorrect comment, NFC.
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 4d6c4cb4269e8e8e04854fca812c2dda13f83f9d by peter.smith
[LLD][ELF] Add support for PT_GNU_PROPERTY
The PT_GNU_PROPERTY program header describes the location of the
.note.gnu.property SHT_NOTES section. The linux kernel uses this program
header to find the .note.gnu.property section rather than parsing.
Executables that have properties that the kernel needs to act on that
don't have the PT_GNU_PROPERTY program header will not boot.
Differential Revision: https://reviews.llvm.org/D70961
The file was modifiedlld/test/ELF/aarch64-feature-pac.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/aarch64-feature-bti.s
The file was modifiedlld/test/ELF/aarch64-ifunc-bti.s
The file was addedlld/test/ELF/pt-gnu-property.s
The file was modifiedlld/test/ELF/aarch64-feature-btipac.s
Commit 7eafde981c699efa87c96d4b7714cbfe98c3d1c6 by 1.int32
[Checkers] Added support for freopen to StreamChecker.
Summary: Extend StreamChecker with a new evaluation function for API
call 'freopen'.
Reviewers: NoQ, baloghadamsoftware, Szelethus, martong
Reviewed By: baloghadamsoftware, martong
Subscribers: martong, rnkovacs, dkrupp, Szelethus, gamesh411,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69948
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
The file was modifiedclang/test/Analysis/stream.c
Commit 4b4ede440a2ad51b150cb913775eee76189aac38 by djordje.todorovic
Reland "[LiveDebugValues] Introduce entry values of unmodified params"
Relanding this after resolving the cause of the test failure.
The file was modifiedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir
The file was addedllvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir
The file was addedllvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs.mir
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp
The file was addedllvm/test/DebugInfo/MIR/X86/entry-values-diamond-bbs.mir
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py
The file was addedllvm/test/DebugInfo/MIR/X86/propagate-entry-value-cross-bbs.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 784f57584fc3b582944d6786738738390e2b5f71 by peter.smith
[LLD][ELF][AArch64] .note.gnu.property sections should have alignment 8
The .note.gnu.property SHT_NOTE sections on AArch64 (a 64-bit target)
should have alignment 8 to more closely match the binutils
implementation where alignment is 4-bytes on 32-bit machines and 8-bytes
on 64-bit machines.
Previously LLD was using 4 for both 32-bit and 64-bit machines.
Differential Revision: https://reviews.llvm.org/D70962
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was addedlld/test/ELF/gnu-property-align.s
The file was modifiedlld/test/ELF/pt-gnu-property.s
The file was addedlld/test/ELF/gnu-property-align-32.s
Commit f0355bc4d15121cd89c7b6d8fce52c192019b3ab by cullen.rhodes
[AArch64][SVE] Implement element count intrinsics
Summary: Adds intrinsics for the following:
    * cntb
   * cnth
   * cntw
   * cntd
   * cntp
Reviewers: sdesmalen, huntergr, dancgr, rengolin, efriedma, rovka
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70967
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 57f8a998ceaf36e021878e8810bb57a00452c07d by pavel
[lldb] Don't put compile unit name into the support file list and
support DWARF5 line tables
Summary: Lldb's "format-independent" debug info made use of the fact
that DWARF
(<=4) did not use the file index zero, and reused the support file index
zero for storing the compile unit name.
While this provided some convenience for DWARF<=4, it meant that the PDB
plugin needed to artificially remap file indices in order to free up
index 0. Furthermore, DWARF v5 make file index 0 legal, which meant that
similar remapping would be needed in the dwarf plugin too.
What this patch does instead is remove the requirement of having the
compile unit name in the index 0. It is not that useful since the name
can always be fetched from the CompileUnit object. Remapping code in the
pdb plugin(s) has been removed or simplified.
DWARF plugin has started inserting an empty FileSpec at index 0 to
ensure the indices keep matching up (in case of DWARF<=4). For DWARF5,
we insert the file 0 from the line table.
I add a test to ensure we can correctly lookup line table entries
referencing file 0, and in particular the case where the file 0 is also
duplicated in another file entry, as this is how clang produces line
tables in some circumstances (see pr44170). Though this is probably a
bug in clang, this is not forbidden by DWARF, and lldb already has
support for that in some (but not all) cases -- this adds a test for the
code path which was not fixed in this patch.
Reviewers: clayborg, JDevlieghere, jdoerfert
Subscribers: aprantl, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70954
The file was addedlldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line.s
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Commit 41eeded804310df0719ecbc92a0e14b438213dbf by Lang Hames
Fix the clang interpreter example which was broken by 4fc68b9b7f3e0.
The file was modifiedclang/examples/clang-interpreter/main.cpp
Commit 54682d871d9e2d8f19ca58ce47a9673401d011ff by david.stenberg
[DebugInfo] Handle call site values for instructions before call bundle
Summary: If a call is bundled then the code that looks for instructions
that produce parameter values would break when reaching the call's
bundle header, due to the `ifCall(/*AnyInBundle*/)` invocation returning
true.
It is not enough to simply ignore bundle headers in the `isCall()`
invocation, as the bundle header may have defines of parameter registers
due to the call, meaning that such registers would incorrectly be
removed from the worklist. Therefore, do not look at bundle headers at
all.
Reviewers: djtodoro, NikolaPrica, aprantl, vsk
Reviewed By: aprantl, vsk
Subscribers: hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D71024
The file was addedllvm/test/DebugInfo/MIR/Hexagon/dbgcall-site-instr-before-bundled-call.mir
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 158356b82b8a2fa8f1cb12a3735274f6a6c3c5f2 by hokein.wu
[clangd] More unittests for cross-file rename.
Summary: The previous unittests for cross-file rename was kind of weak.
With this patch, we should have more test coverage, and it is easy to
add more tests in the future.
Reviewers: ilya-biryukov, kbobyrev
Reviewed By: ilya-biryukov
Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71050
The file was modifiedclang-tools-extra/clangd/unittests/SyncAPI.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 52b231ee84cac576044e147e72d9bd5b290de1f3 by djordje.todorovic
[LiveDebugValues] Silence the unused var warning; NFC
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 4ee76a922aad743818d56f58630cf8da25602251 by pavel
[llvm/DWARF] Return section offset from
DWARFUnit::get{Loc,Rng}listOffset
Summary: Currently these function return the raw content of the
appropriate table header, which means they are relative to the
DW_AT_{loc,rng}list_base, and one has to relocate them in order to do
anything.
This changes the functions to perform the relocation themselves, which
seems more clearer, particularly as they are sitting right next to the
find{Rng,Loc}listFromOffset functions, but one *cannot* simply take the
result of these functions and take pass them there.
The only effect of this patch is to change what value is dumped for the
DW_AT_ranges attribute, which I think is for the better, as previously
the values appeared to point into thin air.
(The main reason I am looking at this is because I was trying to
implement equivalent functionality in lldb's DWARFUnit, and was stumped
by this behavior.
Reviewers: dblaikie, JDevlieghere, aprantl
Subscribers: hiraditya, llvm-commits, SouraVX
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71006
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-rnglists.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/no_debug_addr.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/test/DebugInfo/X86/split-dwarf-v5-ranges.ll
Commit c16f0b18c13e88fedaa510bc2442bb693a6230c8 by pavel
[lldb/cpluspluslanguage] Add constructor substitutor
Summary: This patch adds code which will substitute references to the
full object constructors/destructors with their base object versions.
Like all substitutions in this category, this operation is not really
sound, but doing this in a more precise way allows us to get rid of a
much larger hack -- matching function according to their demangled
names, which effectively does the same thing, but also much more.
This is a (very late) follow-up to D54074.
Background: clang has an optimization which can eliminate full object
structors completely, if they are found to be equivalent to their base
object versions. It does this because it assumes they can be regenerated
on demand in the compile unit that needs them (e.g., because they are
declared inline). However, this doesn't work for the debugging scenario,
where we don't have the structor bodies available -- we pretend all
constructors are defined out-of-line as far as clang is concerned. This
causes clang to emit references to the (nonexisting) full object
structors during expression evaluation.
Fun fact: This is not a problem on darwin, because the relevant
optimization is disabled to work around a linker bug.
Reviewers: teemperor, JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70721
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
Commit 7f9b5138470db1dc58f3bc05631284c653c9ed7a by melanie.blower
        Reapply af57dbf12e54 "Add support for options -frounding-math,
ftrapping-math, -ffp-model=, and -ffp-exception-behavior="
        Patch was reverted because
https://bugs.llvm.org/show_bug.cgi?id=44048
       The original patch is modified to set the strictfp IR attribute
       explicitly in CodeGen instead of as a side effect of IRBuilder.
       In the 2nd attempt to reapply there was a windows lit test fail,
the
       tests were fixed to use wildcard matching.
        Differential Revision: https://reviews.llvm.org/D62731
The file was addedclang/test/CodeGen/fpconstrained.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/CodeGen/fpconstrained.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/Driver/fast-math.c
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was addedclang/test/Driver/fp-model.c
Commit f5767e284beaff4e5eb35f0f64270a070b47f6d3 by pavel
[lldb/DWARF] Switch to llvm debug_rnglists parser
Summary: Our rnglist support was working only for the trivial cases (one
CU), because we only ever parsed one contribution out of the
debug_rnglists section. This means we were never able to resolve range
lists for the second and subsequent units (DW_FORM_sec_offset references
came out blang, and DW_FORM_rnglistx references always used the ranges
lists from the first unit).
Since both llvm and lldb rnglist parsers are sufficiently
self-contained, and operate similarly, we can fix this problem by
switching to the llvm parser instead. Besides the changes which are due
to variations in the interface, the main thing is that now the range
list object is a member of the DWARFUnit, instead of the entire symbol
file. This ensures that each unit can get it's own private set of range
list indices, and is consistent with how llvm's DWARFUnit does it
(overall, I've tried to structure the code the same way as the llvm
version).
I've also added a test case for the two unit scenario.
Reviewers: JDevlieghere, aprantl, clayborg
Subscribers: dblaikie, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71021
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/debug_rnglists.s
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
Commit 11a9bae8f66986751078501988b4414f24dbe37e by alexey.bader
[AST] Enable expression of OpenCL language address spaces an attribute
Summary: Enable a way to set OpenCL language address space using
attributes in addition to existing keywords.
Signed-off-by: Victor Lomuller victor@codeplay.com
Reviewers: aaron.ballman, Anastasia
Subscribers: yaxunl, ebevhan, cfe-commits, Naghasan
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71005
Signed-off-by: Alexey Bader <alexey.bader@intel.com>
The file was addedclang/test/AST/language_address_space_attribute.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/test/SemaOpenCL/address-spaces.cl
Commit 09311459e3750f9dbd164fe7ea40fd9548571128 by lebedev.ri
[InstCombine] Extend `0 - (X sdiv C) -> (X sdiv -C)` fold to non-splat
vectors
Split off from https://reviews.llvm.org/D68408
The file was modifiedllvm/include/llvm/IR/Constant.h
The file was modifiedllvm/test/Transforms/InstCombine/div.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
Commit 18b72d337ef31bc4f1b898ceb17796ffe12dd104 by hans
Also check /Fo when deciding on the .gcna / .gcda filename (PR44208)
Differential revision: https://reviews.llvm.org/D71012
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/clang_f_opts.c
Commit 1462f5a4c138bb20f38a579a29d12ab4e5fb6191 by Raphael Isemann
[lldb][NFC] Move Address and AddressRange functions out of Stream and
let them take raw_ostream
Summary: Yet another step on the long road towards getting rid of lldb's
Stream class.
We probably should just make this some kind of member of
Address/AddressRange, but it seems quite often we just push in random
integers in there and this is just about getting rid of Stream and not
improving arbitrary APIs.
I had to rename another `DumpAddress` function in FormatEntity that is
dumping the content of an address to make Clang happy.
Reviewers: labath
Reviewed By: labath
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71052
The file was modifiedlldb/source/Target/ThreadPlanStepInRange.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/unittests/Utility/StreamTest.cpp
The file was modifiedlldb/source/Symbol/Block.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
The file was modifiedlldb/source/Utility/Stream.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepOverRange.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepThrough.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Target/ThreadPlanRunToAddress.cpp
The file was modifiedlldb/include/lldb/Utility/Stream.h
The file was modifiedlldb/source/Core/DumpDataExtractor.cpp
The file was modifiedlldb/source/Core/AddressRange.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepInstruction.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/source/Utility/VMRange.cpp
Commit 7f93cb62280a73e3e899d49c45be8bfbac634b7d by hokein.wu
[AST] Traverse the class type loc inside the member type loc.
Summary: We are missing this currently.
This would fix https://github.com/clangd/clangd/issues/216.
Reviewers: ilya-biryukov
Subscribers: mgorny, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70849
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
Commit 393dacacf7e7ff4a123adcda3efc60e92121ecc6 by sam.parker
[ARM] Enable TypePromotion by default
ARMCodeGenPrepare has already been generalized and renamed to
TypePromotion. We've had it enabled and tested downstream for a while,
so enable it by default.
Differential Revision: https://reviews.llvm.org/D70998
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/phis-ret.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/pointers.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/switch.ll
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed-icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/calls.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/clear-structures.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/casts.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/wrapping.ll
Commit 699427d77e2fa443e7ea727792707c5ac9e73d87 by llvmgnsyncbot
gn build: Merge 7f93cb62280
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Commit 01e5290b49bd2a8753c685bb5f02596989a31754 by hokein.wu
[clangd] Simplify the code, NFC.
AST.getASTContext().getSourceManager() => AST.getSourceManager().
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DumpAST.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp