summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-01-20 18:57:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-01-20 18:57:48 +0000
commitb718237dfc05aa4c0c8c284f79fe41a2a4a14574 (patch)
treedab809b308668c6811b8d9ee1c9325ef89c52c00 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
parent18b1de3ec6b33199d168807276db95c50f6faab8 (diff)
downloadbcm5719-llvm-b718237dfc05aa4c0c8c284f79fe41a2a4a14574.tar.gz
bcm5719-llvm-b718237dfc05aa4c0c8c284f79fe41a2a4a14574.zip
Accept subtractions involving a weak symbol.
When a symbol S shows up in an expression in assembly there are two possible interpretations * The expression is referring to the value of S in this file. * The expression is referring to the value after symbol resolution. In the first case the assembler can reason about the value and try to produce a relocation. In the second case, that is only possible if the symbol cannot be preempted. Assemblers are not very consistent about which interpretation gets used. This changes MC to agree with GAS in the case of an expression of the form "Sym - WeakSym". llvm-svn: 258329
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud