[compiler-rt][NFC] add note to interface_symbols_linux.cpp about darwin
authorEmily Shi <code@emi.sh>
Thu, 16 Dec 2021 21:05:51 +0000 (13:05 -0800)
committerEmily Shi <code@emi.sh>
Thu, 16 Dec 2021 21:08:03 +0000 (13:08 -0800)
There were changes made to the linux version of this test that were not made for darwin
(see https://reviews.llvm.org/D115837) and this caused downstream failures.

Adding comment to this test to remind people to edit interface_symbols_darwin.cpp.
There is the reverse of this comment in the darwin file to remind us to edit the linux version already.

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

compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp

index 37bca58..a1579a5 100644 (file)
@@ -1,4 +1,6 @@
 // Check the presence of interface symbols in compiled file.
+// If you're changing this file, please also change
+// ../Darwin/interface_symbols_darwin.cpp
 
 // RUN: %clangxx -x c++-header -o - -E %p/../../../../lib/asan/asan_interface.inc  \
 // RUN:  | sed "s/INTERFACE_FUNCTION/\nINTERFACE_FUNCTION/g" >  %t.asan_interface.inc