[asan] Specialize the initialization-bug.cc testcase for Darwin (it needs a deploymen...
authorKuba Mracek <mracek@apple.com>
Mon, 21 Nov 2016 21:48:25 +0000 (21:48 +0000)
committerKuba Mracek <mracek@apple.com>
Mon, 21 Nov 2016 21:48:25 +0000 (21:48 +0000)
commitd692ea1e87dfa5aeb1455fd37241cf7d3adea8c3
tree99d7f1e9da7dce97d898aab207e4566c770b920f
parent694c28495abbdc8bace4c331357b3b7971da084d
[asan] Specialize the initialization-bug.cc testcase for Darwin (it needs a deployment target of 10.11+)

The ODR detection in initialization-bug.cc now works on Darwin (due to the recently enabled "live globals" on-by-default), but only if the deployment target is 10.11 or higher. Let's adjust the testcases.

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

llvm-svn: 287581
compiler-rt/test/asan/TestCases/initialization-bug.cc
compiler-rt/test/lit.common.cfg