Disable ASAN for Fiber::init()
authorAndre Pinto <aap@fb.com>
Fri, 1 May 2015 19:04:52 +0000 (12:04 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:02:06 +0000 (17:02 -0700)
commit5cf352781a70eaf4e61a1aad640ea07cd0983307
treefe6c97daa1d9bd95e860175118154c35885a6c49
parente4e2520ac491eb7d13cde8aea87dd8668b622da0
Disable ASAN for Fiber::init()

Summary:
Fiber::init() method modifies all the bytes in the fiber's stack in
order to produce a high watermark of stack memory usage. This behavior
generates ASAN errors, as it modifies stack red zones. For that reason,
ASAN is disabled for that particular method.

Test Plan:
Unit tests

Reviewed By: alikhtarov@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant

FB internal diff: D2036280

Tasks: 6861962

Signature: t1:2036280:1430439550:e156e0e06fae3615d9d9204e99acaf3072bbfafd
folly/experimental/fibers/Fiber.cpp