Changes

Summary

  1. [ARM] Fix a test case typo. NFC. (details)
  2. [flang] Update tests for opaque pointers (details)
  3. [flang] Update memcpy intrinsic mangling for opaque pointers (details)
  4. [OrcV2Examples] Fix test with opaque pointers (details)
  5. [SVE] Remove custom lowering of scalable vector MGATHER & MSCATTER operations. (details)
  6. [Docs] Update default in opaque pointer docs (NFC) (details)
  7. [clang-tidy] Remove extra ";" in ModernizeModuleTest.cpp (details)
  8. [VPlan] Remove dead VPlan-native special case from BranchOnCount (NFC). (details)
  9. Fix llvm.memset semantics description (details)
  10. [mlir][SCF] Add scf.foreach_thread.parallel_insert_slice canonicalization. (details)
  11. [flang][docs] Document CMake support (details)
  12. Revert "Drop qualifiers from return types in C (DR423)" (details)
  13. Revert "cmake: use llvm dir variables for clang/utils/hmaptool" (details)
  14. [flang] Add check for conflict of BIND(C) and Parameter attributes (details)
  15. [libunwind][ci][AIX] Add libunwind to buildbot CI (details)
  16. Revert "[clang][AIX] add option mdefault-visibility-export-mapping" (details)
  17. [mlir] add decompose and generalize to structured transform ops (details)
  18. [PS5] Support r and y specifiers of freebsd_kernel_printf format strings (details)
  19. Revert "unbreak Modules/cxx20-export-import.cpp with LLVM_APPEND_VC_REV after 8c8a2679a20f" (details)
  20. Update more DR status information for C. (details)
  21. [Binary] Remove OffloadBinary from the Objects enumeration (details)
  22. [SVE] Fixed custom lowering of ISD::INSERT_SUBVECTOR. (details)
  23. [MCParser] Set default alignment value when meeting invalid align (details)
  24. [llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder (details)
  25. [lldb][NFC] Move generic DWARFASTParser code out of Clang-specific code (details)
  26. [gn build] Port f9b8f422e711 (details)
  27. Tidy up `pragma comment lib` handling and testing (details)
  28. [libc++][test] Enable some more string_view tests (details)
  29. [RISCV] Fix an inconsistency with compatible load/store handling (details)
  30. [libc++] Lets to_chars use header implementation. (details)
  31. Revert "[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder" (details)
  32. [llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder (details)
  33. [OpenMP][libomp] Make LIBOMP_CONFIGURED_LIBFLAGS a list instead of string (details)
  34. [OpenMP] omp_get_proc_id uses sched_getcpu fallback on FreeBSD 13.1 and above. (details)
  35. [lldb][NFC] Move non-clang specific method to the generic DWARF Parser (details)
Commit 9245c4930f40b0fd95cba6fc5eae7a2cf4aed76b by martin
[ARM] Fix a test case typo. NFC.

The test looked for the wrong string, but it happened to match as
it was a substring of the actual output.

This fixes a typo from d8e67c1cccd8fcb62230166caea744592288da17.
The file was modifiedllvm/test/CodeGen/ARM/Windows/wineh-opcodes.ll
Commit e3bfd7e52d5fb48f5fc88d9a5fe7fa0d36f66f47 by npopov
[flang] Update tests for opaque pointers

There is still one remaining failure in Lower/forall/character-1.f90.
The file was modifiedflang/test/Lower/common-block.f90
The file was modifiedflang/test/Fir/alloc.fir
The file was modifiedflang/test/Fir/rebox.fir
The file was modifiedflang/test/Fir/addrof.fir
The file was modifiedflang/test/Fir/embox.fir
The file was modifiedflang/test/Lower/complex-part.f90
The file was modifiedflang/test/Fir/boxchar.fir
The file was modifiedflang/test/Fir/ignore-missing-type-descriptor.fir
The file was modifiedflang/test/Fir/arrayset.fir
The file was modifiedflang/test/Lower/OpenMP/omp-ordered-threads.f90
The file was modifiedflang/test/Fir/optional.fir
Commit f09b0c8422d2a81c15b581ed115af66d17755ac4 by npopov
[flang] Update memcpy intrinsic mangling for opaque pointers

Flang is manually mangling names for memset/memcpy/memmove
intrinsics, so we need to update the mangling to use the opaque
pointer format (p0 instead of p0i8).
The file was modifiedflang/test/Lower/array-expression.f90
The file was modifiedflang/test/Lower/derived-assignments.f90
The file was modifiedflang/test/Lower/allocatable-assignment.f90
The file was modifiedflang/test/Lower/forall/character-1.f90
The file was modifiedflang/test/Lower/structure-constructors.f90
The file was modifiedflang/test/Lower/call-copy-in-out.f90
The file was modifiedflang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
The file was modifiedflang/test/Lower/array-constructor-2.f90
The file was modifiedflang/test/Lower/call-parenthesized-arg.f90
The file was modifiedflang/test/Lower/entry-statement.f90
The file was modifiedflang/test/Lower/host-associated.f90
The file was modifiedflang/test/Lower/Intrinsics/achar.f90
The file was modifiedflang/test/Lower/array-character.f90
The file was modifiedflang/test/Lower/pointer-references.f90
The file was modifiedflang/test/Lower/character-concatenation.f90
The file was modifiedflang/test/Lower/character-substrings.f90
The file was modifiedflang/test/Lower/character-assignment.f90
Commit bd92b7b3c1f6d423712b8b36fe593f7dfcd373cf by npopov
[OrcV2Examples] Fix test with opaque pointers

The other two modules now use opaque pointers, so make sure this
one does as well.
The file was modifiedllvm/test/Examples/OrcV2Examples/Inputs/main-mod.ll
Commit 1fe4953d8939ab4f8f0a5de060c0a35758d835a8 by paul.walker
[SVE] Remove custom lowering of scalable vector MGATHER & MSCATTER operations.

Differential Revision: https://reviews.llvm.org/D126255
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
Commit b0ce6a0ae5e34af704f7c6f3811399b5f40f8188 by npopov
[Docs] Update default in opaque pointer docs (NFC)

Also mention a relevant C API.
The file was modifiedllvm/docs/OpaquePointers.rst
Commit 35f0890c4edce1975b17d0901607f2fba9216462 by mikael.holmen
[clang-tidy] Remove extra ";" in ModernizeModuleTest.cpp

Without this fix we get

../../clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp:270:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
^
1 error generated.

when compiling with -Werror.
The file was modifiedclang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
Commit 4f1c86e3d5ef2fe6787be42c2c9143363d46673b by flo
[VPlan] Remove dead VPlan-native special case from BranchOnCount (NFC).

After 05776122b682684ad this special case doesn't exist any longer.
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit 53efdf33f85ab4e11c25e6dc947a0ca8b075d25f by github
Fix llvm.memset semantics description

The description was referring to a ``src`` parameter probably copied over from ``llvm.memcpy``
The file was modifiedllvm/docs/LangRef.rst
Commit 311967701a2a33b2753ec5db6977f3c3ef40c46e by nicolas.vasilache
[mlir][SCF] Add scf.foreach_thread.parallel_insert_slice canonicalization.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D126761
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
Commit 72911227d4c73c19035ea9ed05f785bb691a816c by andrzej.warzynski
[flang][docs] Document CMake support

One out-of-date section is also deleted.

Differential Revision: https://reviews.llvm.org/D126712
The file was modifiedflang/docs/FlangDriver.md
Commit c745f2ce6c03bc6d1e59cac69cc15923d4400191 by aaron
Revert "Drop qualifiers from return types in C (DR423)"

This reverts commit d374b65f2da1bdd3d9a7e9ac8ed4ad5467c882f9.

The changes lose AST fidelity (reported in #55778), but also may be
improperly dropping _Atomic qualifiers. I am rolling the changes back
until I've finished discussions in WG14 about the proper resolution to
DR423.
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTest.h
The file was modifiedclang/test/Sema/warn-missing-prototypes.c
The file was modifiedclang/test/SemaObjC/block-omitted-return-type.m
The file was modifiedclang/test/Sema/block-call.c
The file was modifiedclang/test/Sema/function.c
The file was removedclang/test/Sema/wg14-dr423.c
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/CodeGen/xcore-stringtype.c
Commit 30ad481e87ca7cd2250bd5771ab66ddfe623eb10 by npopov
Revert "cmake: use llvm dir variables for clang/utils/hmaptool"

As discussed on the review, this change breaks the standalone
clang build. When building against an installed LLVM, the
LLVM_TOOLS_BINARY_DIR cmake variable points to the location of
the installed LLVM tools, not to the cmake build directory. This
means that we would end up trying to move hmaptool into something
like /usr/bin as part of the normal build, while this should only
be happening when running an install target.

This reverts commit bf1ab1f0eb9578914343f48096229ecccd0ecf52.
The file was modifiedclang/utils/hmaptool/CMakeLists.txt
Commit e2ac99b79d6f36de93775aa683a4e439cb4b5344 by qiaopeixin
[flang] Add check for conflict of BIND(C) and Parameter attributes

The entity with BIND(C) attribute cannot be a named constant, so the
BIND(C) and parameter attributes are conflicted. Add check for it.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D126654
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was addedflang/test/Semantics/declarations02.f90
Commit dfaee3c9cfa17fce6af317ddcae89c6f6550cf94 by xingxue
[libunwind][ci][AIX] Add libunwind to buildbot CI

Summary:
This patch changes scripts to add libunwind CI on AIX. Test config file ibm-libunwind-shared.cfg.in is introduced for testing on AIX.

Reviewed by: ldionne, MaskRay, libunwind, ibc++abi

Differential Revision: https://reviews.llvm.org/D126017
The file was addedlibunwind/test/configs/ibm-libunwind-shared.cfg.in
The file was modifiedlibcxx/utils/ci/run-buildbot
The file was modifiedlibcxx/cmake/caches/AIX.cmake
Commit d42fe9aa84203a8f51b43a901d72fdc39eea69f7 by hans
Revert "[clang][AIX] add option mdefault-visibility-export-mapping"

This caused assertions, see comment on the code review:

llvm/clang/lib/AST/Decl.cpp:1510:
clang::LinkageInfo clang::LinkageComputer::getLVForDecl(const clang::NamedDecl *, clang::LVComputationKind):
Assertion `D->getCachedLinkage() == LV.getLinkage()' failed.

> The option mdefault-visibility-export-mapping is created to allow
> mapping default visibility to an explicit shared library export
> (e.g. dllexport). Exactly how and if this is manifested is target
> dependent (since it depends on how they map dllexport in the IR).
>
> Three values are provided for the option:
>
> * none: the default and behavior without the option, no additional export linkage information is created.
> * explicit: add the export for entities with explict default visibility from the source, including RTTI
> * all: add the export for all entities with default visibility
>
> This option is useful for targets which do not export symbols as part of
> their usual default linkage behaviour (e.g. AIX), such targets
> traditionally specified such information in external files (e.g. export
> lists), but this mapping allows them to use the visibility information
> typically used for this purpose on other (e.g. ELF) platforms.
>
> Reviewed By: MaskRay
>
> Differential Revision: https://reviews.llvm.org/D126340

This reverts commit 8c8a2679a20f621994fa904bcfc68775e7345edc.
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/CodeGen/MicrosoftCXXABI.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was removedclang/test/CodeGenCXX/mdefault-visibility-export-mapping-alias.cpp
The file was removedclang/test/CodeGenCXX/mdefault-visibility-export-mapping-rtti.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was removedclang/test/CodeGen/mdefault-visibility-export-mapping.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was removedclang/test/CodeGenCXX/mdefault-visibility-export-mapping.cpp
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
Commit ce2e198bc2546f24a64fbeff62bf1489bcc53c27 by zinenko
[mlir] add decompose and generalize to structured transform ops

These ops complement the tiling/padding transformations by transforming
higher-level named structured operations such as depthwise convolutions into
lower-level and/or generic equivalents that are better handled by some
downstream transformations.

Differential Revision: https://reviews.llvm.org/D126698
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was addedmlir/test/Dialect/Linalg/transform-op-decompose.mlir
The file was addedmlir/test/Dialect/Linalg/transform-op-generalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
The file was modifiedmlir/python/mlir/dialects/_structured_transform_ops_ext.py
The file was modifiedmlir/test/python/dialects/transform_structured_ext.py
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Commit b2c6251c06700bfe8a69b780cb27928d3ba029db by paul.robinson
[PS5] Support r and y specifiers of freebsd_kernel_printf format strings
The file was modifiedclang/test/Sema/format-strings-freebsd.c
The file was modifiedclang/lib/AST/FormatString.cpp
Commit e37421669e223ac4e67a0158eae7d78af2ff0b88 by thakis
Revert "unbreak Modules/cxx20-export-import.cpp with LLVM_APPEND_VC_REV after 8c8a2679a20f"

This reverts commit 4463bd0f89181234e0cef982e21de2e96038f873.
8c8a2679a20f was reverted in d42fe9aa8420.
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
Commit 0b46121c4130eec702066bca65802c21a9517539 by aaron
Update more DR status information for C.

This adds new files to track DRs 100-199 and 400-499, but the file
contents are still a work in progress. It also updates the associated
status in the DR tracking page.
The file was addedclang/test/C/drs/dr1xx.c
The file was modifiedclang/www/c_dr_status.html
The file was addedclang/test/C/drs/dr4xx.c
The file was modifiedclang/test/C/drs/dr0xx.c
Commit 6bdf352ed8fc5926e0f86fd6aa6b82300a4abc1c by jhuber6
[Binary] Remove OffloadBinary from the Objects enumeration

Summary:
We use the beginning and end of this enumeration to determine what is
and isn't an object format. The enumeration for the OffloadBinary was
put here by mistake which led to it being mistakenly classified as an
Object file.
The file was modifiedllvm/include/llvm/Object/Binary.h
Commit 48ea26a3878f6e45d4c29f09a1ef0e71301a08fd by paul.walker
[SVE] Fixed custom lowering of ISD::INSERT_SUBVECTOR.

LowerINSERT_SUBVECTOR emits AArch64ISD::UUNPK## when lowering
scalable vector floating point INSERT_SUBVECTOR. However, these
nodes only make sense for integer types and thus isel patterns do
not exist for floating point, which leads to isel failures.

This patch ensures floating point operands are cast to integer
before the core lowering takes place.

Fixes: #55037

Differential Revision: https://reviews.llvm.org/D126487
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-vector.ll
Commit 4d73c46ccf863d49baad930e6b32bb3e4aa8c3ae by sguelton
[MCParser] Set default alignment value when meeting invalid align

Upon invalid alignment value, still set a default valid alignment value to avoid
hitting later asserts.

Fix #55273

Differential Revision: https://reviews.llvm.org/D125688
The file was modifiedllvm/test/MC/AsmParser/directive_align.s
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit 50de7f1e7787bf327d1d04c4daab97c1c180b58c by taolq
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder

This patch introduces the abstract base class InlinePriority to serve as
the comparison function for the priority queue.  A derived class, such
as SizePriority, may choose to cache the priorities for different
functions for performance reasons.

This design shields the type used for the priority away from classes
outside InlinePriority and classes derived from it.  In turn,
PriorityInlineOrder no longer needs to be a template class.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D126300
The file was modifiedllvm/lib/Transforms/IPO/ModuleInliner.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineOrder.h
Commit f9b8f422e711efbf225e4f0f3002396cfbe48118 by contact
[lldb][NFC] Move generic DWARFASTParser code out of Clang-specific code

This patch moves ParseChildArrayInfo out of DWARFASTParserClang in order
to decouple Clang-specific logic from DWARFASTParser.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D114668

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
The file was addedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp
Commit 883b09b6647ea50f0e7292d92d9c38607d005c3b by llvmgnsyncbot
[gn build] Port f9b8f422e711
The file was modifiedllvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn
Commit 5a6352bc70fb0f309de22ea75ef132f32d8be9b4 by paul.robinson
Tidy up `pragma comment lib` handling and testing

A bit of historical research shows that over the years:
Commit 99efc036 added `pragma comment lib` support for PS4.
Commit fd4db533 added `pragma comment lib` support for all ELF targets.
Commit 1d16515f reworked dependent-library support for all ELF targets.

The upshot is that some PS4-specific code became dead, and the
testing became somewhat fragmented.  I've removed the dead code and
combined the previous PS4-specific and linux-specific tests for the
diagnostics into one generic ELF test.
Also added a couple of PS5 runs while I was in there.
The file was removedclang/test/Preprocessor/pragma_ps4.c
The file was removedclang/test/Preprocessor/pragma-comment-linux.c
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/test/CodeGen/pragma-comment.c
The file was addedclang/test/Preprocessor/pragma-comment-elf.c
Commit 6423a9f0ec8ba70049ea76e7bcfc9a9d1a54e826 by joeloser93
[libc++][test] Enable some more string_view tests

Some test cases for `ends_with.ptr.pass` and `starts_with.ptr.pass` for
`string_view` are commented out, but work just fine. Uncomment them.

Differential Revision: https://reviews.llvm.org/D126849
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp
Commit dcdb0bf25bc83e4ae4e7da87311dd93030e9c9ce by listmail
[RISCV] Fix an inconsistency with compatible load/store handling

Once we've computed the incoming predecessor state, we should use the same compatibility check with knowledge of MI as we did in phase 2 in order to be consistent across all phases.

Differential Revision: https://reviews.llvm.org/D126574
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Commit 89818f2dc0b6edeaf9f74ada513ebe489de8ba40 by koraq
[libc++] Lets to_chars use header implementation.

This removes the duplicated code from the dylib. Instead the dylib will
call the new functions in the header. Since this code is unneeded it's
removed from the unstable ABI.

Depends on D125704

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D125761
The file was modifiedlibcxx/src/include/ryu/digit_table.h
The file was modifiedlibcxx/src/charconv.cpp
The file was modifiedlibcxx/include/__config
Commit 5c6ed60c517c47b25b6b25d8ac3666d0e746b0c3 by taolq
Revert "[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder"

This reverts commit 50de7f1e7787bf327d1d04c4daab97c1c180b58c.
The file was modifiedllvm/lib/Transforms/IPO/ModuleInliner.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineOrder.h
Commit 14e8add939775c069d45aa60b48d86f960ed0553 by taolq
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder

This patch introduces the abstract base class InlinePriority to serve as
the comparison function for the priority queue.  A derived class, such
as SizePriority, may choose to cache the priorities for different
functions for performance reasons.

This design shields the type used for the priority away from classes
outside InlinePriority and classes derived from it.  In turn,
PriorityInlineOrder no longer needs to be a template class.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D126300
The file was modifiedllvm/lib/Transforms/IPO/ModuleInliner.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineOrder.h
Commit e27ce281399dca8b08b6ca593172a1bd5dbdd5c1 by jonathan.l.peyton
[OpenMP][libomp] Make LIBOMP_CONFIGURED_LIBFLAGS a list instead of string

When configuring llvm with the openmp subproject, the build for the omp
target fails if LIBOMP_CONFIGURED_LIBFLAGS contains more than one item.
LIBOMP_CONFIGURED_LIBFLAGS should be a semicolon-separated list instead
of a string with items separated by spaces.

Differential Revision: https://reviews.llvm.org/D125370
The file was modifiedopenmp/runtime/cmake/LibompHandleFlags.cmake
Commit 2ba5d820e2b0e5016ec706e324060a329f9a83a3 by David CARLIER
[OpenMP] omp_get_proc_id uses sched_getcpu fallback on FreeBSD 13.1 and above.

Reviewers: jlpeyton, jdoerfert

Reviewed-By: jlpeyton

Differential-Revision: https://reviews.llvm.org/D126408
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedopenmp/runtime/src/ompt-general.cpp
Commit 3da4f9c57b15b3d76b8acbaa8c2b420ad525fa25 by contact
[lldb][NFC] Move non-clang specific method to the generic DWARF Parser

This patch renames DW_ACCESS_to_AccessType function and move it to the abstract
DWARFASTParser, since there is no clang-specific code there. This is useful for
plugins other than Clang.

Reviewed By: shafik, bulbazord

Differential Revision: https://reviews.llvm.org/D114719
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp