A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build ID are somewhat gnu/linux specific.
[simgrid.git]
/
src
/
mc
/
mc_dwarf.cpp
diff --git
a/src/mc/mc_dwarf.cpp
b/src/mc/mc_dwarf.cpp
index
3d08678
..
93489b4
100644
(file)
--- a/
src/mc/mc_dwarf.cpp
+++ b/
src/mc/mc_dwarf.cpp
@@
-1044,6
+1044,7
@@
void read_dwarf_info(simgrid::mc::ObjectInformation* info, Dwarf* dwarf)
static
std::vector<char> get_build_id(Elf* elf)
{
+#ifdef __linux
// Summary: the GNU build ID is stored in a ("GNU, NT_GNU_BUILD_ID) note
// found in a PT_NOTE entry in the program header table.
@@
-1081,6
+1082,7
@@
std::vector<char> get_build_id(Elf* elf)
}
}
+#endif
return std::vector<char>();
}