diff options
| author | Shankar Easwaran <shankare@codeaurora.org> | 2013-10-26 19:38:26 +0000 |
|---|---|---|
| committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-10-26 19:38:26 +0000 |
| commit | 3cbcd28119073e9e8bfb286e51d087443d7a2c35 (patch) | |
| tree | 9e7ce0edf94b4326d1ec8e125140ec9f4d15db3e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | a1ea4cbb8005980efae36ed5402af4f00aecace7 (diff) | |
[Darwin] Fix Reference to nullptr.
On discussing this with Nick, it looks like the StubAtoms
that contain a lazyImmediate reference kind should be null
and the location needs to be fixed up later with some value
that is an offset into the __LINKEDIT segment.
The drawback is that it allows yaml files with references
that expect a target to be considered without one.
This results in bad yaml files that would need to be handled
in the YAML Reader.
Inorder to fix this, the Stub Atoms use a dummy target such
as itself.
llvm-svn: 193476
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
