diff options
author | Sean Eveson <eveson.sean@gmail.com> | 2018-01-17 09:01:29 +0000 |
---|---|---|
committer | Sean Eveson <eveson.sean@gmail.com> | 2018-01-17 09:01:29 +0000 |
commit | 2ae6037dd150893c6f54a67dcc4664003306ea8c (patch) | |
tree | c4e66ef713be34c62f034ef0d267dd77ef3dc53e /llvm/docs/CodeGenerator.rst | |
parent | 1913115204027ad779949094c454d704462e77d0 (diff) | |
download | bcm5719-llvm-2ae6037dd150893c6f54a67dcc4664003306ea8c.tar.gz bcm5719-llvm-2ae6037dd150893c6f54a67dcc4664003306ea8c.zip |
[MC] Fix -stack-size-section on ARM
Change symbol values in the stack_size section from being 8 bytes, to being a target dependent size.
Differential Revision: https://reviews.llvm.org/D42108
llvm-svn: 322619
Diffstat (limited to 'llvm/docs/CodeGenerator.rst')
-rw-r--r-- | llvm/docs/CodeGenerator.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst index 5c0fb064959..7329f3d1fe6 100644 --- a/llvm/docs/CodeGenerator.rst +++ b/llvm/docs/CodeGenerator.rst @@ -1584,7 +1584,7 @@ Emitting function stack size information A section containing metadata on function stack sizes will be emitted when ``TargetLoweringObjectFile::StackSizesSection`` is not null, and ``TargetOptions::EmitStackSizeSection`` is set (-stack-size-section). The -section will contain an array of pairs of function symbol references (8 byte) +section will contain an array of pairs of function symbol values (pointer size) and stack sizes (unsigned LEB128). The stack size values only include the space allocated in the function prologue. Functions with dynamic stack allocations are not included. |