OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9df53a
)
Revert part of 186302 to fix buildbots.
author
Craig Topper
<craig.topper@gmail.com>
Mon, 15 Jul 2013 04:37:54 +0000
(
04:37
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Mon, 15 Jul 2013 04:37:54 +0000
(
04:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186303
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Signals.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Signals.inc
b/lib/Support/Unix/Signals.inc
index
a52a9e5
..
c62a7ed
100644
(file)
--- a/
lib/Support/Unix/Signals.inc
+++ b/
lib/Support/Unix/Signals.inc
@@
-84,7
+84,8
@@
static struct {
static void RegisterHandler(int Signal) {
- assert(NumRegisteredSignals < array_lengthof(RegisteredSignalInfo) &&
+ assert(NumRegisteredSignals <
+ sizeof(RegisteredSignalInfo)/sizeof(RegisteredSignalInfo[0]) &&
"Out of space for signal handlers!");
struct sigaction NewHandler;