Skip to content

Commit

Permalink
Restore the frame pointer on Linux (#1200)
Browse files Browse the repository at this point in the history
Looks like the default here changed when we upgraded the Linux build server.

This is causing issues when debugging crash dumps.
  • Loading branch information
asherkin committed Mar 4, 2020
1 parent 604942f commit 6a307bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AMBuildScript
Expand Up @@ -322,6 +322,9 @@ class SMConfig(object):
if builder.options.opt == '1': if builder.options.opt == '1':
cxx.cflags += ['-O3'] cxx.cflags += ['-O3']


# Don't omit the frame pointer.
cxx.cflags += ['-fno-omit-frame-pointer']

def configure_msvc(self, cxx): def configure_msvc(self, cxx):
if builder.options.debug == '1': if builder.options.debug == '1':
cxx.cflags += ['/MTd'] cxx.cflags += ['/MTd']
Expand Down

0 comments on commit 6a307bf

Please sign in to comment.