projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5e95d
)
[profile][Fuchsia] Add missing system header #include
author
Roland McGrath
<mcgrathr@google.com>
Fri, 6 Aug 2021 02:51:48 +0000
(19:51 -0700)
committer
Roland McGrath
<mcgrathr@google.com>
Sat, 7 Aug 2021 00:59:35 +0000
(17:59 -0700)
The _zx_vmar_root_self function is not a system call but
a libc function declared in a separate header.
Reviewed By: gulfem
Differential Revision: https://reviews.llvm.org/D107616
compiler-rt/lib/profile/InstrProfilingUtil.c
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/profile/InstrProfilingUtil.c
b/compiler-rt/lib/profile/InstrProfilingUtil.c
index
4fa792b
..
062727f
100644
(file)
--- a/
compiler-rt/lib/profile/InstrProfilingUtil.c
+++ b/
compiler-rt/lib/profile/InstrProfilingUtil.c
@@
-34,6
+34,7
@@
#endif
#if defined(__Fuchsia__)
+#include <zircon/process.h>
#include <zircon/syscalls.h>
#endif