[all-commits] [llvm/llvm-project] 669bfc: [Demangle] Add minimal support for D simple basic ...

Luís Ferreira via All-commits all-commits at lists.llvm.org
Wed Jan 12 14:01:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 669bfcf036522930353010ba00de791827dbd33c
      https://github.com/llvm/llvm-project/commit/669bfcf036522930353010ba00de791827dbd33c
  Author: Luís Ferreira <contact at lsferreira.net>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M llvm/lib/Demangle/DLangDemangle.cpp
    M llvm/unittests/Demangle/DLangDemangleTest.cpp

  Log Message:
  -----------
  [Demangle] Add minimal support for D simple basic types

This patch implements simple demangling of two basic types to add minimal type functionality. This will be later used in function type parsing. After that being implemented we can add the rest of the types and test the result of the type name.

Reviewed By: dblaikie

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


  Commit: bec08795db0d9eeeb38514fdb8fdc8e9c99c3324
      https://github.com/llvm/llvm-project/commit/bec08795db0d9eeeb38514fdb8fdc8e9c99c3324
  Author: Luís Ferreira <contact at lsferreira.net>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M llvm/lib/Demangle/DLangDemangle.cpp
    M llvm/unittests/Demangle/DLangDemangleTest.cpp

  Log Message:
  -----------
  [Demangle] Add support for D symbols back referencing

    This patch adds support for identifier back referencing allowing compressed
    mangled names by avoiding repetitiveness.

    Signed-off-by: Luís Ferreira <contact at lsferreira.net>

Reviewed By: dblaikie

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


  Commit: b21ea1c2701d754072b679c27df75c43699a2623
      https://github.com/llvm/llvm-project/commit/b21ea1c2701d754072b679c27df75c43699a2623
  Author: Luís Ferreira <contact at lsferreira.net>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M llvm/lib/Demangle/DLangDemangle.cpp
    M llvm/unittests/Demangle/DLangDemangleTest.cpp

  Log Message:
  -----------
  [Demangle] Add support for D types back referencing

    This patch adds support for type back referencing, allowing demangling of
    compressed mangled symbols with repetitive types.

    Signed-off-by: Luís Ferreira <contact at lsferreira.net>

Reviewed By: dblaikie

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


  Commit: 6983968e833b03e8a25eba4d2a02e4d1b5d446a2
      https://github.com/llvm/llvm-project/commit/6983968e833b03e8a25eba4d2a02e4d1b5d446a2
  Author: Luís Ferreira <contact at lsferreira.net>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M llvm/lib/Demangle/DLangDemangle.cpp

  Log Message:
  -----------
  [Demangle] Pass Ret parameter from decodeNumber by reference

Since Ret parameter is never meant to be nullptr, let's pass it by reference instead of a raw pointer.

Reviewed By: dblaikie

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


Compare: https://github.com/llvm/llvm-project/compare/7e29da875ca9...6983968e833b


More information about the All-commits mailing list