Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dav1d
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xuefeng Jiang
dav1d
Commits
6ceb29d2
Commit
6ceb29d2
authored
Feb 13, 2019
by
Martin Storsjö
Committed by
Henrik Gramner
Feb 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson: Add an undocumented option for overriding stack alignment
This is intended only for use in CI testing.
parent
9caabc7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
meson.build
meson.build
+3
-1
meson_options.txt
meson_options.txt
+4
-0
No files found.
meson.build
View file @
6ceb29d2
...
...
@@ -214,7 +214,9 @@ stackalign_flag = []
stackrealign_flag = []
if host_machine.cpu_family().startswith('x86')
if host_machine.cpu_family() == 'x86_64'
if get_option('stack_alignment') > 0
stack_alignment = get_option('stack_alignment')
elif host_machine.cpu_family() == 'x86_64'
if cc.has_argument('-mpreferred-stack-boundary=5')
stackalign_flag = ['-mpreferred-stack-boundary=5']
stackrealign_flag = ['-mincoming-stack-boundary=4']
...
...
meson_options.txt
View file @
6ceb29d2
...
...
@@ -35,3 +35,7 @@ option('fuzzing_engine',
choices : ['none', 'libfuzzer', 'oss-fuzz'],
value: 'none',
description: 'Select the fuzzing engine')
option('stack_alignment',
type: 'integer',
value: 0)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment