[PATCH] D116633: Add -fsanitize-address-param-retval to clang.

Kevin Athey via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 14 17:57:41 PST 2022


kda added inline comments.


================
Comment at: clang/test/Driver/fsanitize-memory-param-retval.c:8-9
+
+// RUN: %clang -target aarch64-linux-gnu -fsyntax-only %s -fsanitize=memory -fsanitize-memory-param-retval -c -### 2>&1 | FileCheck --check-prefix=11 %s
+// 11: "-fsanitize-memory-param-retval"
+
----------------
vitalybuka wrote:
> I guess this copied by mistake from example. This is essentially the same as line 2.
Should I drop it?
I was trying to copy all the subtleties found in other tests.
The next test shows the opposite.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116633/new/

https://reviews.llvm.org/D116633



More information about the cfe-commits mailing list