OSDN Git Service

Disallow assigning symbol a null section.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 3 Oct 2015 00:18:14 +0000 (00:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 3 Oct 2015 00:18:14 +0000 (00:18 +0000)
commitac4ccbae9f921897fd2fda9ecfbfef4479dadb8d
tree3b92d945095e6ea9bba5fe6f48a56f6398d79edf
parent092a1f7acc3a0bf26b762997ca765f0a7c4ac867
Disallow assigning symbol a null section.

They are constructed without one and they can't go back, so this was
effectively dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAsmStreamer.cpp
lib/MC/MCMachOStreamer.cpp
lib/MC/MCStreamer.cpp
lib/MC/WinCOFFStreamer.cpp