Skip to content

Commit 9ecdd9c

Browse files
committed
Use -H:+ReportExceptionStackTraces internally.
1 parent f16fd59 commit 9ecdd9c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,7 @@ def contents(self):
12771277
'--install-exit-handlers',
12781278
'--enable-monitoring',
12791279
'-H:+DumpRuntimeCompilationOnSignal',
1280+
'-H:+ReportExceptionStackTraces',
12801281
]
12811282

12821283
if isinstance(image_config, (mx_sdk.LauncherConfig, mx_sdk.LanguageLibraryConfig)):

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def run_musl_basic_tests():
249249
@contextmanager
250250
def native_image_context(common_args=None, hosted_assertions=True, native_image_cmd='', config=None, build_if_missing=False):
251251
common_args = [] if common_args is None else common_args
252-
base_args = ['--no-fallback', '-H:+EnforceMaxRuntimeCompileMethods']
252+
base_args = ['--no-fallback', '-H:+EnforceMaxRuntimeCompileMethods', '-H:+ReportExceptionStackTraces']
253253
base_args += ['-H:Path=' + svmbuild_dir()]
254254
if mx.get_opts().verbose:
255255
base_args += ['--verbose']

0 commit comments

Comments
 (0)