Skip to content

Commit

Permalink
Fix ABI leakage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Oct 27, 2024
1 parent 2aff3b4 commit 5e6fd48
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG

#include <string>
#include <new>
Expand Down
1 change: 1 addition & 0 deletions src/Generator/Passes/SymbolsCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public override void Process()
{
WriteLine("#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS");
WriteLine("#define _LIBCPP_HIDE_FROM_ABI");
WriteLine("#define _LIBCPP_NO_ABI_TAG");
NewLine();
WriteLine("#include <string>");
}
Expand Down

0 comments on commit 5e6fd48

Please sign in to comment.