summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-06-12 18:05:01 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-06-12 18:05:01 +0000
commitf846ce259af07ab522badaaee32f83b296830302 (patch)
tree797af53e6a25446266008366d9a51f8ca8c1744d /lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp
parent11150c009a4099f5248141655d6fe834daf02279 (diff)
downloadbcm5719-llvm-f846ce259af07ab522badaaee32f83b296830302.tar.gz
bcm5719-llvm-f846ce259af07ab522badaaee32f83b296830302.zip
Fix weak symbols on arm and aarch64.
Given .weak target .global _start _start: b target The intention is that the branch goes to the instruction after the branch, effectively turning it on a nop. The branch adds the runtime PC, but we were adding it statically too. I noticed the oddity by inspection, but llvm-objdump seems to agree, since it now prints things like: b #-4 <_start+0x4> llvm-svn: 305212
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud