File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 33
33
):
34
34
lit_config .note ("lsan feature unavailable" )
35
35
else :
36
- lit_config .note ("lsan feature available" )
37
36
config .available_features .add ("lsan" )
38
37
39
38
# MemorySanitizer is not supported on OSX or Windows right now
40
39
if (
41
40
sys .platform .startswith ("darwin" )
42
41
or sys .platform .startswith ("win" )
43
- or config .target_arch == "i386"
44
42
):
45
43
lit_config .note ("msan feature unavailable" )
46
44
assert "msan" not in config .available_features
45
+ elif config .target_arch == "i386" :
46
+ assert "msan" not in config .available_features
47
47
else :
48
- lit_config .note ("msan feature available" )
49
48
config .available_features .add ("msan" )
50
49
51
50
if sys .platform .startswith ("win" ) or sys .platform .startswith ("cygwin" ):
57
56
if sys .platform .startswith ("linux" ):
58
57
# Note the value of ``sys.platform`` is not consistent
59
58
# between python 2 and 3, hence the use of ``.startswith()``.
60
- lit_config .note ("linux feature available" )
61
59
config .available_features .add ("linux" )
62
- else :
63
- lit_config .note ("linux feature unavailable" )
64
60
65
61
if config .arm_thumb :
66
62
config .available_features .add ("thumb" )
You can’t perform that action at this time.
0 commit comments