llvm-project/compiler-rt/lib/profile
Kamil Rytarowski edbe2b3f02 Add support for LLVM profile for NetBSD
Summary:
NetBSD uses typical UNIX interfaces.

All tests pass except instrprof-dlopen-dlclose-gcov.test, as there
is not supported semantics of atexit(3) in dlopen(3)ed+dlclose(3)d
DSO.

NetBSD also ships an older version of LLVM profile (ABI v.2 predating
ABI v.4 in upstream version) inside libc. That copy has been manually
removed during the porting and testing process of the upstream version
to NetBSD. Otherwise there were conflicts between them two.

Reviewers: joerg, vitalybuka, vsk

Subscribers: srhines, fedor.sergeev, llvm-commits, mgorny, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D55997

llvm-svn: 349994
2018-12-22 06:56:19 +00:00
..
CMakeLists.txt [profile] Support profiling runtime on Fuchsia 2018-07-25 03:01:35 +00:00
GCDAProfiling.c [GCOV] Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution 2018-11-07 09:38:26 +00:00
InstrProfData.inc [NFC] fix trivial typos in comments 2018-01-22 07:51:37 +00:00
InstrProfiling.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfiling.h [profile] Add interface to get profile filename 2018-07-19 19:03:50 +00:00
InstrProfilingBuffer.c [PGO] Reduce IO in profile dumping with merging 2017-06-28 16:46:06 +00:00
InstrProfilingFile.c [profile] Support profiling runtime on Fuchsia 2018-07-25 03:01:35 +00:00
InstrProfilingInternal.h [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingMerge.c [profile] Fix value profile runtime merging issues 2018-04-02 16:57:00 +00:00
InstrProfilingMergeFile.c [profile] Support profiling runtime on Fuchsia 2018-07-25 03:01:35 +00:00
InstrProfilingNameVar.c [profile] Fix warning about C++ style comment in C file 2017-08-22 21:54:37 +00:00
InstrProfilingPlatformDarwin.c [profile] initialize static pool properly 2016-05-22 16:36:03 +00:00
InstrProfilingPlatformFuchsia.c [profile] Support profiling runtime on Fuchsia 2018-07-25 03:01:35 +00:00
InstrProfilingPlatformLinux.c Add support for LLVM profile for NetBSD 2018-12-22 06:56:19 +00:00
InstrProfilingPlatformOther.c Add support for LLVM profile for NetBSD 2018-12-22 06:56:19 +00:00
InstrProfilingPort.h [profile] Fix value profile runtime merging issues 2018-04-02 16:57:00 +00:00
InstrProfilingRuntime.cc [Profile] cleanup: do not reference name directly of vars shared between rt and llvm 2016-07-22 04:08:16 +00:00
InstrProfilingUtil.c [compiler-rt] Add a routine to specify the mode used when creating profile dirs. 2018-07-31 23:37:24 +00:00
InstrProfilingUtil.h [compiler-rt] Add a routine to specify the mode used when creating profile dirs. 2018-07-31 23:37:24 +00:00
InstrProfilingValue.c [compiler-rt] Remove unused formal parameters from allocateOneNode. NFC. 2018-10-09 20:10:28 +00:00
InstrProfilingWriter.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
WindowsMMap.c [GCOV] Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution 2018-11-07 09:38:26 +00:00
WindowsMMap.h [GCOV] Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution 2018-11-07 09:38:26 +00:00