aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-05-31 20:17:44 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-05-31 20:17:44 +0000
commitdb5e56f7b2c8fd96321bed5b829e77b6e699bfdf (patch)
tree4caf5d172b7bd90a4842c904d9936f942c1e82e3 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent1d4cde62832ac8cd8d4955a864bc794523f932d9 (diff)
downloadllvm-db5e56f7b2c8fd96321bed5b829e77b6e699bfdf.zip
llvm-db5e56f7b2c8fd96321bed5b829e77b6e699bfdf.tar.gz
llvm-db5e56f7b2c8fd96321bed5b829e77b6e699bfdf.tar.bz2
Store a single Parent pointer for InputSectionBase.
Before InputSectionBase had an OutputSection pointer, but that was not always valid. For example, if it was a merge section one actually had to look at MergeSec->OutSec. This was brittle and caused bugs like the one fixed by r304260. We now have a single Parent pointer that points to an OutputSection for InputSection, but to a SyntheticSection for merge sections and .eh_frame. This makes it impossible to accidentally access an invalid OutSec. llvm-svn: 304338
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions