Jay Foad
8b9cea42db
[PowerPC] Fix unwind info with dynamic stack realignment
...
Summary:
PowerPC DWARF unwind info defined CFA as SP + offset even in a function
where the stack had been dynamically realigned. This clearly doesn't
work because the offset from SP to CFA is not a constant. Fix it by
defining CFA as BP instead.
This was causing the AddressSanitizer null_deref test to fail 50% of
the time, depending on whether SP happened to be 32-byte aligned on
entry to a particular function or not.
Reviewers: willschm, uweigand, hfinkel
Reviewed By: hfinkel
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6410
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222996 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-01 09:42:32 +00:00
..
2014-02-13 14:44:26 +00:00
2014-02-13 14:44:26 +00:00
2014-10-19 21:29:21 +00:00
2014-04-12 00:59:48 +00:00
2014-05-27 15:57:51 +00:00
2014-10-19 21:29:21 +00:00
2014-04-12 01:26:00 +00:00
2014-05-29 15:41:38 +00:00
2014-07-20 22:26:40 +00:00
2014-09-12 14:26:36 +00:00
2014-06-13 14:24:07 +00:00
2014-10-02 22:27:07 +00:00
2014-03-11 10:48:52 +00:00
2014-10-03 18:04:36 +00:00
2014-10-02 22:27:07 +00:00
2014-10-02 22:27:07 +00:00
2014-07-18 23:29:49 +00:00
2014-02-28 00:27:01 +00:00
2014-10-31 10:33:14 +00:00
2014-10-19 21:29:21 +00:00
2014-08-16 00:17:05 +00:00
2014-04-04 15:15:57 +00:00
2014-07-23 07:08:53 +00:00
2014-10-17 01:41:22 +00:00
2014-03-02 18:23:39 +00:00
2014-03-01 21:36:57 +00:00
2014-02-16 13:27:39 +00:00
2014-04-12 21:52:38 +00:00
2014-04-12 21:52:38 +00:00
2014-05-11 16:23:29 +00:00
2014-02-25 20:51:50 +00:00
2014-10-03 20:01:09 +00:00
2014-06-25 15:41:00 +00:00
2014-09-15 22:11:07 +00:00
2014-10-19 21:29:21 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2014-06-24 20:05:18 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2014-10-17 01:41:22 +00:00
2014-11-24 23:45:21 +00:00
2014-03-23 05:35:00 +00:00
2014-10-21 13:02:37 +00:00
2014-10-19 20:27:56 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2014-10-19 21:29:21 +00:00
2014-02-28 00:27:01 +00:00
2014-10-19 21:29:21 +00:00
2014-10-19 21:29:21 +00:00
2014-06-23 13:47:52 +00:00
2014-06-23 13:47:52 +00:00
2014-06-23 13:47:52 +00:00
2014-10-17 01:41:22 +00:00
2014-10-17 01:41:22 +00:00
2014-06-16 21:36:02 +00:00
2014-07-04 10:57:56 +00:00
2014-03-05 22:14:00 +00:00
2014-03-23 05:35:00 +00:00
2014-10-19 21:29:21 +00:00
2014-03-23 05:35:00 +00:00
2014-05-20 17:20:34 +00:00
2014-02-13 15:33:35 +00:00
2014-06-09 22:42:55 +00:00
2014-02-13 14:44:26 +00:00
2014-08-04 21:06:00 +00:00
2014-10-17 01:41:22 +00:00
2014-08-04 21:06:00 +00:00
2014-04-12 21:52:38 +00:00
2014-10-17 01:41:22 +00:00
2014-04-12 21:52:38 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-05-11 19:29:11 +00:00
2014-02-28 00:27:01 +00:00
2014-03-06 00:45:19 +00:00
2014-07-24 22:20:10 +00:00
2014-11-12 16:40:00 +00:00
2014-11-12 16:40:00 +00:00
2014-10-17 01:41:22 +00:00
2014-06-23 12:36:34 +00:00
2014-07-07 19:41:54 +00:00
2014-06-18 17:52:49 +00:00
2014-07-29 12:48:14 +00:00
2014-11-21 04:35:51 +00:00
2014-08-23 23:21:04 +00:00
2014-06-20 16:34:05 +00:00
2014-07-21 00:13:26 +00:00
2014-07-20 23:43:15 +00:00
2014-07-21 00:03:18 +00:00
2014-07-20 23:31:44 +00:00
2014-07-20 23:43:15 +00:00
2014-10-02 22:34:22 +00:00
2014-10-16 20:00:02 +00:00
2014-07-03 15:06:47 +00:00
2014-10-02 22:27:07 +00:00
2014-10-03 20:01:09 +00:00
2014-07-31 19:50:53 +00:00
2014-07-31 19:50:53 +00:00
2014-07-31 19:13:38 +00:00
2014-02-19 17:23:20 +00:00
2014-10-21 13:02:37 +00:00
2014-06-27 13:04:12 +00:00
2014-07-11 17:19:31 +00:00
2014-02-28 00:27:01 +00:00
2014-04-13 17:10:58 +00:00
2014-10-17 01:41:22 +00:00
2014-02-28 00:27:01 +00:00
2014-11-12 15:16:30 +00:00
2014-02-28 00:27:01 +00:00
2014-02-28 00:27:01 +00:00
2014-01-28 05:32:58 +00:00
2014-05-27 15:57:51 +00:00
2014-09-02 16:05:23 +00:00
2014-12-01 09:42:32 +00:00
2014-07-23 07:08:53 +00:00
2014-06-23 13:47:52 +00:00
2014-11-12 16:50:15 +00:00
2014-11-11 20:44:09 +00:00
2014-08-15 13:51:57 +00:00
2014-10-17 15:13:38 +00:00
2014-08-13 01:15:40 +00:00
2014-10-17 15:13:38 +00:00
2014-10-19 21:29:21 +00:00
2014-10-03 20:01:09 +00:00
2014-07-21 00:13:26 +00:00
2014-08-04 13:13:57 +00:00
2014-10-17 15:13:38 +00:00
2014-10-19 21:29:21 +00:00
2014-08-05 20:47:25 +00:00
2014-08-04 14:55:26 +00:00
2014-10-17 15:13:38 +00:00
2014-06-05 22:57:38 +00:00
2014-06-06 14:06:26 +00:00
2014-10-19 21:29:21 +00:00
2014-03-28 19:58:11 +00:00
2014-11-14 12:10:40 +00:00
2014-11-12 04:19:40 +00:00
2014-11-12 04:19:40 +00:00
2014-10-31 19:19:07 +00:00
2014-10-17 15:13:38 +00:00
2014-03-27 23:12:31 +00:00
2014-03-29 05:29:01 +00:00
2014-10-22 16:58:20 +00:00
2014-03-14 12:45:22 +00:00
2014-02-07 16:21:30 +00:00