The code only affects XCore targets.
The 'const VarDecl *D' was not being checked for null prior to dereferencing.
This was discovered whilst compiling a empty destructor.
Also add testing of cpp ABI output where it differs from C ABI output.
Differential D3450
XCore target: fix bug in dereferencing null pointer. robertlytton on Apr 22 2014, 6:09 AM. Authored by
Details
The code only affects XCore targets. Also add testing of cpp ABI output where it differs from C ABI output.
Diff Detail Event TimelineComment Actions LGTM
|
This comment could be made clearer. What was the actual bug? Did it crash when emitting the destructor or did it crash because of an implicitly generated method?