What would be an example of a matrix that would not have a $LDL^T$ decomposition? This is a trivial case but I was thinking of a zero matrix which would result in L being an identity matrix and D would be a zero matrix. When you compute $LDL^T$ it still gives you the original zero matrix so I don't believe this is correct.
What about a singular matrix?