[test][TSan] Fix tests under NPM
authorArthur Eubanks <aeubanks@google.com>
Fri, 18 Sep 2020 18:32:58 +0000 (11:32 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 18 Sep 2020 18:37:55 +0000 (11:37 -0700)
commit2b1cb6d54a3298204e01a2982e3d00a1f08743a2
treed1e7bf3e5d26493369fca0791bebe09b6c152de0
parent9ad6049736c58cca098b13ed128e7de0940f94a0
[test][TSan] Fix tests under NPM

Under NPM, the TSan passes are split into a module and function pass. A
couple tests were testing for inserted module constructors, which is
only part of the module pass.
llvm/test/Instrumentation/ThreadSanitizer/do-not-instrument-memory-access.ll
llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll