llvm-project/compiler-rt/lib/profile
Marco Castelluccio e21cfa7e7f Fix reading 32 bit gcov tag values on little-endian machines
Summary:
The write buffer contains signed chars, which means the shift operations caused values such as the arc tag value (0x01a10000) to be read incorrectly (0xffa10000).

This fixes a regression from https://reviews.llvm.org/D49132.

Reviewers: uweigand, davidxl

Reviewed By: uweigand

Subscribers: llvm-commits, #sanitizers

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

llvm-svn: 336775
2018-07-11 09:30:25 +00:00
..
CMakeLists.txt [CMake] Add compiler-rt header files to the list of sources for targets 2018-07-10 13:00:17 +00:00
GCDAProfiling.c Fix reading 32 bit gcov tag values on little-endian machines 2018-07-11 09:30:25 +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] Fix value profile runtime merging issues 2018-04-02 16:57:00 +00:00
InstrProfilingBuffer.c [PGO] Reduce IO in profile dumping with merging 2017-06-28 16:46:06 +00:00
InstrProfilingFile.c Fix clang-cl warnings in compiler-rt 2018-04-23 17:05:47 +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] Fix value profile runtime merging issues 2018-04-02 16:57:00 +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
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] 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 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] Fix value profile runtime merging issues 2018-04-02 16:57:00 +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 Fix most MSVC warnings in compiler-rt profiling library 2016-06-17 18:12:50 +00:00