WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152900
[ANGLE] Correct UNREACHABLE runtime assertion for void constructors
https://bugs.webkit.org/show_bug.cgi?id=152900
Summary
[ANGLE] Correct UNREACHABLE runtime assertion for void constructors
Brent Fulgham
Reported
2016-01-08 10:48:23 PST
The fix is just to remove the UNREACHABLE call in this name mangler. Several expected values pass through here and should not contribute to the mangled name. The ‘UNREACHBLE()’ call was not appropriate: chromium / angle / angle / 01971113492d9aca386f2bca021b1f4b134fc277^! / . commit 01971113492d9aca386f2bca021b1f4b134fc277 [log] [tgz] author Dmitry Skiba <
dskiba@google.com
> Fri Jul 10 18:54:00 2015 committer Jamie Madill <
jmadill@chromium.org
> Fri Jul 10 19:03:34 2015 tree 47e42eac00f7d64cddb14b3cc21a4e605c189d20 parent 53b76107ece2f5b4dfc831f2b571f9db04d65c73 [diff] diff --git a/src/compiler/translator/Types.cpp b/src/compiler/translator/Types.cpp index 0b60eb1..62bcd8e 100644 --- a/src/compiler/translator/Types.cpp +++ b/src/compiler/translator/Types.cpp @@ -142,7 +142,8 @@ mangledName += interfaceBlock->mangledName(); break; default: - UNREACHABLE(); + // EbtVoid, EbtAddress and non types + break; } if (isMatrix())
Attachments
Patch
(1.87 KB, patch)
2016-01-08 10:55 PST
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2016-01-08 10:49:05 PST
Side note: We need to update ANGLE, and should try to keep more in sync with the upstream work. The patch that had this (small) fix also added some useful caching that would be nice to have in our code.
Brent Fulgham
Comment 2
2016-01-08 10:55:39 PST
Created
attachment 268551
[details]
Patch
Brent Fulgham
Comment 3
2016-01-08 10:56:22 PST
<
rdar://problem/24107501
>
WebKit Commit Bot
Comment 4
2016-01-08 10:56:55 PST
Note that there are important steps to take when updating ANGLE. See
http://trac.webkit.org/wiki/UpdatingANGLE
WebKit Commit Bot
Comment 5
2016-01-08 13:01:43 PST
Comment on
attachment 268551
[details]
Patch Clearing flags on attachment: 268551 Committed
r194780
: <
http://trac.webkit.org/changeset/194780
>
WebKit Commit Bot
Comment 6
2016-01-08 13:01:45 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug