llvm-project/compiler-rt/lib/profile
Marco Castelluccio 8dfdfa65ed Hide some symbols to avoid a crash on shutdown when using code coverage
Summary:
gcov / gcda-based profiling crashes when shared libraries are unloaded

Patch by Benoit Belley and test by Marco Castelluccio for Firefox

See https://bugs.llvm.org/show_bug.cgi?id=27224 & https://bugzilla.mozilla.org/show_bug.cgi?id=1401230

Reviewers: davidxl, rnk, void

Subscribers: jessicah, marco-c, belleyb, cfe-commits

Tags: #clang

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

llvm-svn: 321703
2018-01-03 11:21:30 +00:00
..
CMakeLists.txt [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
GCDAProfiling.c Hide some symbols to avoid a crash on shutdown when using code coverage 2018-01-03 11:21:30 +00:00
InstrProfData.inc
InstrProfiling.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfiling.h
InstrProfilingBuffer.c
InstrProfilingFile.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingInternal.h [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingMerge.c
InstrProfilingMergeFile.c
InstrProfilingNameVar.c
InstrProfilingPlatformDarwin.c
InstrProfilingPlatformLinux.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingPlatformOther.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingPort.h [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingRuntime.cc
InstrProfilingUtil.c Include process.h for getpid on Windows in instr profiling 2017-12-21 21:48:55 +00:00
InstrProfilingUtil.h [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingValue.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
InstrProfilingWriter.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
WindowsMMap.c [profile] Port the runtime to Solaris (retry) 2017-12-14 19:01:04 +00:00
WindowsMMap.h