mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
druntime: Match either _Dmain or D main
This commit is contained in:
parent
384ebf5a6f
commit
a59e38a7bd
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ $(ROOT)/rt_trap_exceptions_drt_gdb.done: $(ROOT)/rt_trap_exceptions_drt
|
|||
$(QUIET)$(TIMELIMIT) $(GDB) -n -ex 'set confirm off' -ex run -ex 'bt full' -ex q --args $< --DRT-trapExceptions=0 \
|
||||
> $(ROOT)/rt_trap_exceptions_drt_gdb.output 2>&1 || true
|
||||
cat $(ROOT)/rt_trap_exceptions_drt_gdb.output
|
||||
grep "D main (args=...) at .*rt_trap_exceptions_drt.d:9" > /dev/null < $(ROOT)/rt_trap_exceptions_drt_gdb.output
|
||||
grep "\(D main\|_Dmain\) (args=...) at .*rt_trap_exceptions_drt.d:9" > /dev/null < $(ROOT)/rt_trap_exceptions_drt_gdb.output
|
||||
grep 'myLocal' > /dev/null < $(ROOT)/rt_trap_exceptions_drt_gdb.output
|
||||
! grep "No stack." > /dev/null < $(ROOT)/rt_trap_exceptions_drt_gdb.output
|
||||
@touch $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue