aom: Add link to MemorySanitizer doc about -Wl,-z,defs

From 01ee589ad698ee8416844932ced3052322ed3c85 Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Mon, 26 Feb 2024 13:34:17 -0800
Subject: [PATCH] Add link to MemorySanitizer doc about -Wl,-z,defs

Change-Id: Id90dfe430dd11369dcbb1aa3047475f2d9bd9f45
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f594e9b4f..e77cc68db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -825,7 +825,8 @@ if(BUILD_SHARED_LIBS)
   # Clang's AddressSanitizer documentation says "When linking shared libraries,
   # the AddressSanitizer run-time is not linked, so -Wl,-z,defs may cause link
   # errors (don't use it with AddressSanitizer)." See
-  # https://clang.llvm.org/docs/AddressSanitizer.html#usage.
+  # https://clang.llvm.org/docs/AddressSanitizer.html#usage. Similarly, see
+  # https://clang.llvm.org/docs/MemorySanitizer.html#usage.
   if(NOT WIN32
      AND NOT APPLE
      AND NOT (CMAKE_C_COMPILER_ID MATCHES "Clang" AND SANITIZE))