This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Fix aarch64 build issue
ClosedPublic

Authored by zatrazz on Aug 5 2015, 10:26 AM.

Details

Summary

This patch fixes tsan broke build for aarch64 since GLIBC 2.20+, sys/user.h
does not include asm/ptrace.h (which defined struct user_pt_regs). This patch
fixes by including it instead of sys/user.h.

Diff Detail

Event Timeline

zatrazz updated this revision to Diff 31367.Aug 5 2015, 10:26 AM
zatrazz retitled this revision from to [tsan] Fix aarch64 build issue.
zatrazz updated this object.
zatrazz added reviewers: rengolin, kcc, eugenis, dvyukov.
zatrazz added a subscriber: llvm-commits.
rengolin accepted this revision.Aug 5 2015, 11:33 AM
rengolin edited edge metadata.

Fixes the problem with the bots.

This revision is now accepted and ready to land.Aug 5 2015, 11:33 AM