[all-commits] [llvm/llvm-project] e4f64a: [docs] Use relative URLs for man pages

Aaron Puchert via All-commits all-commits at lists.llvm.org
Sun Sep 11 11:45:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4f64ad4e38d296948b03f001fba5c2bed056f43
      https://github.com/llvm/llvm-project/commit/e4f64ad4e38d296948b03f001fba5c2bed056f43
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2022-09-11 (Sun, 11 Sep 2022)

  Changed paths:
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/docs/conf.py

  Log Message:
  -----------
  [docs] Use relative URLs for man pages

Should have no effect on the online documentation, but it makes offline
builds more self-contained. With relative links however we have to
abstain from using `:manpage:` outside of man page cross-references.

Reviewed By: mysterymath

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


  Commit: 4491bb19df17beeb35cc84f4928fee06854762b3
      https://github.com/llvm/llvm-project/commit/4491bb19df17beeb35cc84f4928fee06854762b3
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2022-09-11 (Sun, 11 Sep 2022)

  Changed paths:
    M libcxxabi/test/forced_unwind3.pass.cpp

  Log Message:
  -----------
  [libcxxabi] Fix forced_unwind3.pass.cpp compilation error

Under some circumstances there is no struct _Unwind_Exception, it's just
an alias to another struct. This would result in an error like this:

libcxxabi/test/forced_unwind3.pass.cpp:50:77: error: typedef '_Unwind_Exception' cannot be referenced with a struct specifier
  static _Unwind_Reason_Code stop(int, _Unwind_Action actions, type, struct _Unwind_Exception*, struct _Unwind_Context*,
                                                                            ^
<...>/lib/clang/15.0.0/include/unwind.h:68:38: note: declared here
typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */
                                     ^

This seems to have been an issue since the test was first added in
D109856, except that it didn't surface with Clang 14 because the code
is filtered out by the preprocessor if `__clang_major__ < 15`.

Reviewed By: danielkiss, mstorsjo, #libc_abi, ldionne

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


  Commit: 44ffc13f2eb6188a86ae88ea1e942e9ac354db9b
      https://github.com/llvm/llvm-project/commit/44ffc13f2eb6188a86ae88ea1e942e9ac354db9b
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2022-09-11 (Sun, 11 Sep 2022)

  Changed paths:
    M llvm/tools/llvm-shlib/CMakeLists.txt

  Log Message:
  -----------
  Make sure libLLVM users link with libatomic if needed

64-bit atomics are used in llvm/ADT/Statistic.h, which means that users
of libLLVM.so might also have to link with libatomic. To avoid having
to special-case the library here, we simply add all `LLVM_SYSTEM_LIBS`
as public link dependencies to libLLVM.

This fixes a build failure on PowerPC 32-bit.

Reviewed By: beanz

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


Compare: https://github.com/llvm/llvm-project/compare/c3c930d57365...44ffc13f2eb6


More information about the All-commits mailing list