[Patch][AsmWriter] Prevent SegFault when printing IR.
tnowicki at apple.com
Mon Jun 15 18:23:48 PDT 2015
When printing IR for each pass sometimes a call to printMetadataAttachments from InstCombiner will produce a seg-fault because it is dereferencing bad pointer. I’m not exactly sure whats happening here. But here is a patch to prevent the seg-fault.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 710 bytes
Desc: not available
More information about the llvm-commits