llvm-project/compiler-rt/lib/profile
Vedant Kumar b850251d3e [profile] Compute number of data entries correctly
Compiler-rt miscalculates the number of entries in the __llvm_prf_data section
on i386 Darwin. This results in a number of test failures (which we started
catching after r261344).

The fix we attempted earlier is insufficient (r261683). It caused some tests to
start passing again, but that hid the fact that we drop some data entries.

This patch should fix the real problem. It fixes the way we compute DataSize by
taking into account the way the Darwin linker lays out __llvm_prf_data.

Differential Revision: http://reviews.llvm.org/D17623

llvm-svn: 261957
2016-02-26 02:49:41 +00:00
..
CMakeLists.txt profile: Do not pass -fPIC on Windows. 2016-01-08 02:03:25 +00:00
GCDAProfiling.c Silence MSVC warning about non-void prototypes 2016-02-11 00:22:43 +00:00
InstrProfData.inc Sync up with master 2016-02-26 00:56:31 +00:00
InstrProfiling.c [profile] Fix iteration over profile data entries 2016-02-23 20:46:14 +00:00
InstrProfiling.h [profile] Compute number of data entries correctly 2016-02-26 02:49:41 +00:00
InstrProfilingBuffer.c [profile] Compute number of data entries correctly 2016-02-26 02:49:41 +00:00
InstrProfilingFile.c [profile] Support hostname expansion in LLVM_PROFILE_FILE 2016-01-29 23:52:11 +00:00
InstrProfilingInternal.h [PGO]: Refactor VP data writer 2015-12-29 23:54:41 +00:00
InstrProfilingPlatformDarwin.c [PGO] cleanup: unify prefix for portability macros 2015-12-16 03:29:15 +00:00
InstrProfilingPlatformLinux.c [PGO] cleanup: unify prefix for portability macros 2015-12-16 03:29:15 +00:00
InstrProfilingPlatformOther.c Fix windows build bot failure 2016-02-08 18:27:04 +00:00
InstrProfilingPort.h Fix build with VS2015 2016-01-30 07:14:31 +00:00
InstrProfilingRuntime.cc [PGO] cleanup: unify prefix for portability macros 2015-12-16 03:29:15 +00:00
InstrProfilingUtil.c [PGO] cleanup: unify prefix for portability macros 2015-12-16 03:29:15 +00:00
InstrProfilingUtil.h Add support for generating profiles in a given directory. 2015-07-09 17:21:52 +00:00
InstrProfilingValue.c [profile] Compute number of data entries correctly 2016-02-26 02:49:41 +00:00
InstrProfilingWriter.c [profile] Compute number of data entries correctly 2016-02-26 02:49:41 +00:00
WindowsMMap.c [PGO] Enable building compiler-rt profile support library on Windows 2016-01-05 17:27:01 +00:00
WindowsMMap.h [PGO] Enable building compiler-rt profile support library on Windows 2016-01-05 17:27:01 +00:00