Snap for 4756844 from 8bba91f5e679493b1ef5716459c996dd2e5cdab2 to pi-release

Change-Id: Ifc83eee5a2fc670eb73d4dce633265316a19252d
diff --git a/abi/VtsVndkAbiTest.py b/abi/VtsVndkAbiTest.py
index d277073..65bf930 100644
--- a/abi/VtsVndkAbiTest.py
+++ b/abi/VtsVndkAbiTest.py
@@ -144,6 +144,11 @@
             dump_vtables = parser.ParseVtablesFromString(dump_file.read())
 
         lib_vtables = parser.ParseVtablesFromLibrary(lib_path)
+        # TODO(b/78316564): The dumper doesn't support SHT_ANDROID_RELA.
+        if not lib_vtables and self.run_as_compliance_test:
+            logging.warning("%s: Cannot dump vtables",
+                            os.path.relpath(lib_path, self._temp_dir))
+            return []
         logging.debug("%s: %s", lib_path, lib_vtables)
         diff = []
         for vtable, dump_symbols in dump_vtables.iteritems():