<rdar://problem/13204647>
authorEnrico Granata <egranata@apple.com>
Fri, 15 Feb 2013 00:06:04 +0000 (00:06 +0000)
committerEnrico Granata <egranata@apple.com>
Fri, 15 Feb 2013 00:06:04 +0000 (00:06 +0000)
commit75dfb43270088043e6c7d39abc0e302ad8ba00af
tree7f63af1c52b923bf2ca0d63b5afff4170d70200e
parent30f05f3dc7db1c1ab803bf541960952e9ac46281
<rdar://problem/13204647>

The SEL data formatter was working hard to ensure that pointers-to-selectors could be formatted by the same block of code. In that effort, we were taking the address-of a SEL.
This operation fails when the SEL lives in a register, and was causing problems.
The formatter has been fixed to work correctly without assuming &selector will be a valid object.

llvm-svn: 175227
lldb/source/DataFormatters/CXXFormatterFunctions.cpp
lldb/source/DataFormatters/FormatManager.cpp