Mercurial > hg > graal-jvmci-8
comparison agent/src/os/linux/salibelf.c @ 12329:f2512d89ad0c
8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
author | twisti |
---|---|
date | Sat, 28 Sep 2013 12:42:22 -0700 |
parents | c18cbe5936b8 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12328:303826f477c6 | 12329:f2512d89ad0c |
---|---|
23 */ | 23 */ |
24 | 24 |
25 #include "salibelf.h" | 25 #include "salibelf.h" |
26 #include <stdlib.h> | 26 #include <stdlib.h> |
27 #include <unistd.h> | 27 #include <unistd.h> |
28 #include <string.h> | |
28 | 29 |
29 extern void print_debug(const char*,...); | 30 extern void print_debug(const char*,...); |
30 | 31 |
31 // ELF file parsing helpers. Note that we do *not* use libelf here. | 32 // ELF file parsing helpers. Note that we do *not* use libelf here. |
32 int read_elf_header(int fd, ELF_EHDR* ehdr) { | 33 int read_elf_header(int fd, ELF_EHDR* ehdr) { |