Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Merge requests
!262
Test gdwarf support in GCC compiler
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Test gdwarf support in GCC compiler
autotools-update
into
master
Overview
1
Commits
1
Changes
1
Merged
Peter W. Draper
requested to merge
autotools-update
into
master
8 years ago
Overview
1
Commits
1
Changes
-
Expand
Fixes a problem introduced by
!261 (merged)
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d834fe3a
1 commit,
8 years ago
+
6
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
configure.ac
+
6
−
1
Options
@@ -159,7 +159,12 @@ AC_C_INLINE
if test "x$enable_debug" = "xyes"; then
# Show inlined functions.
if test "$ax_cv_c_compiler_vendor" = "gnu"; then
CFLAGS="$CFLAGS -gdwarf -fvar-tracking-assignments"
# Would like to use -gdwarf and let the compiler pick a good version
# but that doesn't always work.
AX_CHECK_COMPILE_FLAG([-gdwarf -fvar-tracking-assignments],
[inline_EXTRA_FLAGS="-gdwarf -fvar-tracking-assignments"],
[inline_EXTRA_FLAGS="-gdwarf-2 -fvar-tracking-assignments"])
CFLAGS="$CFLAGS $inline_EXTRA_FLAGS"
elif test "$ax_cv_c_compiler_vendor" = "intel"; then
CFLAGS="$CFLAGS -debug inline-debug-info"
fi
Loading