diff options
author | Andreas Gampe <agampe@google.com> | 2018-05-24 19:32:31 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-24 19:32:31 -0700 |
commit | bfcccd3868777b9a7cfd93ba5ae62df75ac1d113 (patch) | |
tree | a4c85d4421843d6131f2987a034b4ae688119201 | |
parent | 100da7855b17dedc6a6c1ddd01eb0822ba29acc5 (diff) | |
parent | 9ed960a358e4606d761779d772dad39cb08513dd (diff) | |
download | libunwind-bfcccd3868777b9a7cfd93ba5ae62df75ac1d113.tar.gz |
Libunwind: Ignore [vsyscall] map am: 0c1a9cab2f am: f9e1920771
am: 9ed960a358
Change-Id: I4f0d2736420bbd5fe98d64b29cfe5e52985d7309
-rw-r--r-- | src/os-linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os-linux.c b/src/os-linux.c index 8dc1ebfc..0f914f24 100644 --- a/src/os-linux.c +++ b/src/os-linux.c @@ -78,6 +78,7 @@ map_create_list (int map_create_type, pid_t pid) /* If this is a readable executable map, and not a stack map or an empty map, find the load_base. */ if (cur_map->path[0] != '\0' && strncmp ("[stack:", cur_map->path, 7) != 0 + && strncmp ("[vsyscall]", cur_map->path, 10) != 0 && (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ) && !(cur_map->flags & MAP_FLAGS_DEVICE_MEM)) { |