summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-07-11 09:28:27 +0000
committerPeter Smith <peter.smith@linaro.org>2017-07-11 09:28:27 +0000
commitc1ace40bf9ed6a8972c28828444d58d16d960e07 (patch)
tree5cc429fbd738b48dadcde11b1215607832039c36 /llvm/lib
parent993f2a4299caebf36ad76fc2c1dd59f21158e6b9 (diff)
downloadbcm5719-llvm-c1ace40bf9ed6a8972c28828444d58d16d960e07.tar.gz
bcm5719-llvm-c1ace40bf9ed6a8972c28828444d58d16d960e07.zip
[ELF] Add comment to explain LinkerScript::CurAddressState [NFC]
r307367 via D34345 split out the temporary address state used within processCommands() and assignAddresses(). Due to the way that getSymbolValue is used by the ScriptParser there is no way of giving the current OutputSection to getSymbolValue() without somehow accessing the created addressState. The suggestion was that by making a pointer that would go out of scope we would find out by ASAN/MSAN or a crash if someone had misused currentAddressState. Differential Revision: https://reviews.llvm.org/D34345 llvm-svn: 307637
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud