aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wankadia <junyer@google.com>2015-07-15 13:55:25 +1000
committerPaul Wankadia <junyer@google.com>2015-07-15 03:57:33 +0000
commita99f38705611f678f70b7e1944d188a3c28a12ab (patch)
tree8d665b2a6301cc204126726485b8ecfebb0c2cf6
parent925c429e25131a8f33b9617afa10f17f95bedf38 (diff)
downloadregex-re2-a99f38705611f678f70b7e1944d188a3c28a12ab.tar.gz
Try to fix the operator<< symbol on Darwin yet again.
Fixes #1. Change-Id: Ia3627b4733b0d3875d1e7a2b825f43159e652e13 Reviewed-on: https://code-review.googlesource.com/3141 Reviewed-by: Paul Wankadia <junyer@google.com>
-rw-r--r--libre2.symbols.darwin10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre2.symbols.darwin b/libre2.symbols.darwin
index 69fccb9..4207f87 100644
--- a/libre2.symbols.darwin
+++ b/libre2.symbols.darwin
@@ -6,10 +6,12 @@ __ZNK3re23RE2*
__ZN3re211StringPiece*
__ZNK3re211StringPiece*
# operator<<(std::ostream&, re2::StringPiece const&)
-__ZlsRSoRKN3re211StringPieceE
-# operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, re2::StringPiece const&)
-# This is apparently what libc++ provides.
-__ZlsRNSt3__113basic_ostreamIcNS_11char_traitsIcEEEERKN3re211StringPieceE
+# Seen with libstdc++ on 10.8 and below:
+# __ZlsRSoRKN3re211StringPieceE
+# Seen with libc++ on 10.9 and above:
+# __ZlsRNSt3__113basic_ostreamIcNS_11char_traitsIcEEEERKN3re211StringPieceE
+# Note that "ls" means operator<<, so this is not overly broad.
+__Zls*RKN3re211StringPieceE
# re2::FilteredRE2*
__ZN3re211FilteredRE2*
__ZNK3re211FilteredRE2*