From ceacb3252416b450cb42a951eb531b6d66a89da8 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 5 Apr 2023 13:25:07 -0400 Subject: [PATCH] Fix LLVM sphinx build This addresses issues found by: https://lab.llvm.org/buildbot/#/builders/30/builds/33698 --- llvm/docs/ReleaseNotes.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index 052a850..551efe0 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -247,12 +247,15 @@ Changes to Sanitizers an intended override of a weak symbol, then it must contain at least one weak symbol as well for the override to take effect. - Example: - // Add this to make sure your override takes effect - __attribute__((weak,unused)) unsigned __enableOverrides; + Example: - // Example override - extern "C" const char *__asan_default_options() { ... } + .. code-block:: c + + // Add this to make sure your override takes effect + __attribute__((weak,unused)) unsigned __enableOverrides; + + // Example override + extern "C" const char *__asan_default_options() { ... } Other Changes ------------- -- 2.7.4