Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libnux
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Apps
BrainScaleS
libnux
Commits
9b335cb5
Commit
9b335cb5
authored
3 years ago
by
Jakob Kaiser
Browse files
Options
Downloads
Patches
Plain Diff
Handle out of range exception
Change-Id: I5e88b8cf978c255f199fa5ac19c61b5320bd7975
parent
74375a82
No related branches found
Branches containing commit
Tags
ebrains-6.0-a1
ebrains-6.0-rc1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/nux_runtime/exception_handling.cpp
+15
-0
15 additions, 0 deletions
src/nux_runtime/exception_handling.cpp
wscript
+2
-1
2 additions, 1 deletion
wscript
with
17 additions
and
1 deletion
src/nux_runtime/exception_handling.cpp
0 → 100644
+
15
−
0
View file @
9b335cb5
#include
<cstdlib>
#if !__has_builtin(__builtin_abort)
#define __builtin_abort() do { \
exit(1); \
} while (0)
#endif
namespace
std
{
void
__throw_out_of_range_fmt
(
const
char
*
,
...)
{
__builtin_abort
();
}
}
// std
This diff is collapsed.
Click to expand it.
wscript
+
2
−
1
View file @
9b335cb5
...
...
@@ -179,7 +179,8 @@ def build(bld):
source = ["src/nux_runtime/start.cpp",
"src/nux_runtime/initdeinit.cpp",
"src/nux_runtime/cxa_pure_virtual.cpp",
"src/nux_runtime/stack_guards.cpp"],
"src/nux_runtime/stack_guards.cpp",
"src/nux_runtime/exception_handling.cpp"],
use = f"nux_inc_vx_v{chip_version_number}",
env = env,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment