File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed
x86_64-linux-gnu-cxx11abi Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
2
2
#define _LIBCPP_HIDE_FROM_ABI
3
- #define _LIBCPP_NO_ABI_TAG
4
3
5
4
#include < string>
6
5
#include < new>
Original file line number Diff line number Diff line change 1
1
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
2
2
#define _LIBCPP_HIDE_FROM_ABI
3
- #define _LIBCPP_NO_ABI_TAG
4
3
5
4
#include < string>
6
5
#include < new>
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ public void Setup(Driver driver)
48
48
{
49
49
var parserOptions = driver . ParserOptions ;
50
50
parserOptions . TargetTriple = Triple ;
51
+ parserOptions . EnableExceptions = false ;
51
52
52
53
var options = driver . Options ;
53
54
options . GeneratorKind = Kind ;
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ project "Std-symbols"
51
51
language " C++"
52
52
SetupNativeProject ()
53
53
rtti " Off"
54
+ exceptionhandling " Off"
55
+
54
56
defines { " DLL_EXPORT" }
55
57
56
58
filter { " toolset:msc*" }
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ public ParserOptions()
84
84
TargetTriple . Contains ( "windows" ) || TargetTriple . Contains ( "msvc" ) ;
85
85
86
86
public bool EnableRTTI { get ; set ; }
87
+ public bool EnableExceptions { get ; set ; }
87
88
public LanguageVersion ? LanguageVersion { get ; set ; }
88
89
89
90
public void BuildForSourceFile (
@@ -373,8 +374,8 @@ private void SetupArguments(TargetPlatform targetPlatform)
373
374
break ;
374
375
}
375
376
376
- if ( ! EnableRTTI )
377
- AddArguments ( "-fno-rtti " ) ;
377
+ AddArguments ( EnableRTTI ? "-frtti" : "-fno-rtti" ) ;
378
+ AddArguments ( EnableExceptions ? "-fexceptions" : "-fno-exceptions " ) ;
378
379
}
379
380
380
381
internal string BuiltinsDirBasePath
You can’t perform that action at this time.
0 commit comments