This is a matching change to an LLVM patch to ensure local statics are issued to the DWARF in the correct lexical scope.
This change detects the static being in a lexical block and ensures the debug into meta data is assigned to that scope.
A matching test will be added to debuginfo-tests.