~mozillateam/firefox/firefox.disco

« back to all changes in this revision

Viewing changes to debian/patches/s390x-fix-hidden-symbol.patch

  • Committer: Olivier Tilloy
  • Date: 2019-06-20 14:18:28 UTC
  • Revision ID: olivier.tilloy@canonical.com-20190620141828-3vtlnpvp49lahe9w
* New upstream stable release (67.0.4build1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From a96b79f909403b53ea4c577912bdf611da9ff064 Mon Sep 17 00:00:00 2001
2
 
From: Jeff Gilbert <jgilbert@mozilla.com>
3
 
Date: Fri, 26 Jul 2019 17:33:16 -0700
4
 
Subject: [PATCH] Explicitly instantiate TIntermTraverser::traverse(TIntermNode *).
5
 
 
6
 
(on behalf of RewriteAtomicFunctionExpressions)
7
 
The compile will occasionally choose to inline all instances of this
8
 
function, and therefore not export this entrypoint into the object file,
9
 
leaving other TUs (RewriteAtomicFunctionExpressions) with missing
10
 
link symbols.
11
 
 
12
 
Bug: angleproject:3752
13
 
Change-Id: Ida778bcd897a85567680911a88aae88a3797aa93
14
 
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1721954
15
 
Commit-Queue: Jeff Gilbert <jgilbert@mozilla.com>
16
 
Commit-Queue: Jamie Madill <jmadill@chromium.org>
17
 
Reviewed-by: Jamie Madill <jmadill@chromium.org>
18
 
---
19
 
 
20
 
diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.cpp
21
 
index c38baa1..b587090 100644
22
 
--- a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.cpp
23
 
+++ b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.cpp
24
 
@@ -50,6 +50,10 @@
25
 
     }
26
 
 }
27
 
 
28
 
+// Instantiate template for RewriteAtomicFunctionExpressions, in case this gets inlined thus not
29
 
+// exported from the TU.
30
 
+template void TIntermTraverser::traverse(TIntermNode *);
31
 
+
32
 
 void TIntermNode::traverse(TIntermTraverser *it)
33
 
 {
34
 
     it->traverse(this);