HomePhabricator

[TSan] Fix initialized and declared ‘extern’ warning

Description

[TSan] Fix initialized and declared ‘extern’ warning

Avoid the following warning which fails a bot (via -Werror).

/tmp/gotsan.JfrpVPu7pG/gotsan.cc:10456:25: error: ‘_tsan_pointer_chk_guard’ initialized and declared ‘extern’ [-Werror]
extern "C" __tsan::uptr _tsan_pointer_chk_guard = 0;
                        ^~~~~~~~~~~~~~~~~~~~~~~

Details

Committed
ylnJul 1 2019, 11:06 AM
Parents
rL364822: GlobalISel: Verify G_MERGE_VALUES operand sizes
Branches
Unknown
Tags
Unknown