diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-02-04 20:26:00 +0000 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-02-04 20:26:00 +0000 |
commit | c2fab48145623c97d1658c35acc37b95919b1e27 (patch) | |
tree | bc785b62aed78f24841492a86619231887a026d4 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context | |
parent | 77b326f39d8b33615a57d41d868ae0bbcddd5bf4 (diff) | |
download | bcm5719-llvm-c2fab48145623c97d1658c35acc37b95919b1e27.tar.gz bcm5719-llvm-c2fab48145623c97d1658c35acc37b95919b1e27.zip |
builtins: Fix struct __emutls_control to match GCC
The type of size and align in struct __emutls_control must be
typedef unsigned int gcc_word __attribute__((mode(word)));
to match GCC. When gcc_word is larger than size_t, which is the case
for x32, the upper extra bits are all zeros. We can use variables of
size_t to operate on size and align.
Fix one trivial C99 warning about mixed declaration and code.
Differential Revision: http://reviews.llvm.org/D16886
llvm-svn: 259824
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context')
0 files changed, 0 insertions, 0 deletions