summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-09-13 09:48:11 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-09-13 09:49:03 -0700
commit2d80dec40575c74410242b6b665c02aeca4d465a (patch)
treebc8573ffb7a081b0ebecd16b6f7bacb6c70e73c1 /absl
parentbf9c19e545d42070a265c0a6943ff108e4c39df7 (diff)
Improve failure message: tell the values we don't like.
PiperOrigin-RevId: 474043469 Change-Id: I9ea33a8bf026263c9e10d2a183014a5ee8df1306
Diffstat (limited to 'absl')
-rw-r--r--absl/debugging/symbolize_elf.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/debugging/symbolize_elf.inc b/absl/debugging/symbolize_elf.inc
index 639d67dd..ffb4eecf 100644
--- a/absl/debugging/symbolize_elf.inc
+++ b/absl/debugging/symbolize_elf.inc
@@ -1343,8 +1343,9 @@ static bool MaybeInitializeObjFile(ObjFile *obj) {
if (num_executable_load_segments < obj->phdr.size()) {
memcpy(&obj->phdr[num_executable_load_segments++], &phdr, sizeof(phdr));
} else {
- ABSL_RAW_LOG(WARNING, "%s: too many executable LOAD segments",
- obj->filename);
+ ABSL_RAW_LOG(
+ WARNING, "%s: too many executable LOAD segments: %zu >= %zu",
+ obj->filename, num_executable_load_segments, obj->phdr.size());
break;
}
}