This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][lsan] Fix compiler error due to attribute (windows)
ClosedPublic

Authored by etienneb on Sep 21 2016, 10:22 AM.

Details

Summary

Window compiler is stricter for attributes location. This patch fixes a compilation error.

D:\src\llvm\llvm\projects\compiler-rt\lib\lsan\lsan_thread.cc(39): error C2144: syntax error: 'int' should be preceded by ';'

Diff Detail

Event Timeline

etienneb updated this revision to Diff 72083.Sep 21 2016, 10:22 AM
etienneb retitled this revision from to [compiler-rt][lsan] Fix compiler error due to attribute (windows).
etienneb updated this object.
etienneb added a reviewer: rnk.
etienneb added subscribers: chrisha, llvm-commits.
majnemer accepted this revision.Sep 23 2016, 8:01 AM
majnemer added a reviewer: majnemer.
majnemer added a subscriber: majnemer.

LGTM

This revision is now accepted and ready to land.Sep 23 2016, 8:01 AM
etienneb closed this revision.Sep 23 2016, 8:20 AM