The story
A pronunciation spelling of (and, in some instances of use, eye dialect for) Lord have mercy in a non-rhotic accent, such as non-rhotic versions of AAVE.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: An expression of astonishment, dismay, bemusement, or a jocular hint of any of those. Full definition →
A pronunciation spelling of (and, in some instances of use, eye dialect for) Lord have mercy in a non-rhotic accent, such as non-rhotic versions of AAVE.
Etymology from Wiktionary, CC BY-SA 4.0.