| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
The max warning check was masking the "return 0" codepath.
See the thread "Warnings and compile-time failure on 458.sjeng" for more
info.
llvm-svn: 270762
|
|
|
|
|
|
| |
Also get rid of the redundant strncpy calls.
llvm-svn: 270730
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After r270617 I am getting an error when building:
projects/compiler-rt/lib/profile/InstrProfilingFile.c:33:36:
error: missing field 'PidChars' initializer
[-Werror,-Wmissing-field-initializers]
lprofFilename lprofCurFilename = {0};
^
Fix the aggregate initializer.
llvm-svn: 270697
|
|
|
|
|
|
| |
Differentianl Revision: http://reviews.llvm.org/D20572
llvm-svn: 270617
|
|
|
|
| |
llvm-svn: 270524
|
|
|
|
|
|
| |
Also added more documentation.
llvm-svn: 270519
|
|
|
|
|
|
|
|
| |
o make warning message more meaningful to users.
o add suggestion to fix the problem
o limit the max number of output.
llvm-svn: 270483
|
|
|
|
|
|
|
| |
Remove dependency on runtime initializer to avoid
issues related to initialization order.
llvm-svn: 270371
|
|
|
|
| |
llvm-svn: 270350
|
|
|
|
| |
llvm-svn: 270339
|
|
|
|
| |
llvm-svn: 270338
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D20460
llvm-svn: 270337
|
|
|
|
|
|
|
| |
I think we allow use of C99 for libprofile, but use a C-style comment
for consistency.
llvm-svn: 270187
|
|
|
|
| |
llvm-svn: 270186
|
|
|
|
|
|
|
|
| |
1) Move common prefix to the macro def
2) Introduced PROF_WARN
3) Make error message unconditionally printed out.
llvm-svn: 270185
|
|
|
|
| |
llvm-svn: 270181
|
|
|
|
| |
llvm-svn: 270179
|
|
|
|
| |
llvm-svn: 270177
|
|
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D20408
llvm-svn: 270141
|
|
|
|
|
|
| |
Sync up with "(llvm) Use Error in InstrProf and Coverage".
llvm-svn: 270022
|
|
|
|
| |
llvm-svn: 270005
|
|
|
|
| |
llvm-svn: 269993
|
|
|
|
| |
llvm-svn: 269964
|
|
|
|
| |
llvm-svn: 269724
|
|
|
|
|
|
|
| |
This is another enabler patch to support value profiling
without dynamic memory allocation.
llvm-svn: 269719
|
|
|
|
|
|
|
|
| |
Coverage, NFC""
This reverts commit r269696. The llvm commit does not pass the MSVC bot.
llvm-svn: 269702
|
|
|
|
|
|
|
|
| |
Sync up with "(llvm) Use Error in InstrProf and Coverage".
Differential Revision: http://reviews.llvm.org/D19903
llvm-svn: 269696
|
|
|
|
|
|
|
| |
This is one of the enabler patch to allow value profiler to
allocate counter statically.
llvm-svn: 269689
|
|
|
|
|
|
|
|
| |
licensees actually see in the toolchain we deliver to them. This will
reduce the set of local patches we have to maintain. The triple is
not changing. (The term ORBIS is an internal code name for PS4.)
llvm-svn: 269672
|
|
|
|
| |
llvm-svn: 269592
|
|
|
|
| |
llvm-svn: 269587
|
|
|
|
|
|
|
|
|
|
| |
This is part-3 of the effort to eliminate dependency on
libc allocator in instr profiler runtime. With this change,
the profile dumper is completely free of malloc/calloc.
Value profile instr API implementation is the only remaining
piece with calloc dependency.
llvm-svn: 269576
|
|
|
|
|
|
|
|
|
|
| |
Coverage, NFC""
This reverts commit r269493 as the corresponding LLVM commit was
reverted due to lots of warnings. See the review thread for the original
LLVM commit (r269491) for details.
llvm-svn: 269550
|
|
|
|
| |
llvm-svn: 269533
|
|
|
|
|
|
|
|
| |
Sync up with "(llvm) Use Error in InstrProf and Coverage".
Differential Revision: http://reviews.llvm.org/D19903
llvm-svn: 269493
|
|
|
|
|
|
|
|
| |
(compiler-rt) Use Error in InstrProf and Coverage, NFC"
This reverts commit r269464. It fails two llvm-profdata tests.
llvm-svn: 269469
|
|
|
|
|
|
| |
Sync up with "(llvm) Use Error in InstrProf and Coverage".
llvm-svn: 269464
|
|
|
|
|
|
|
|
| |
With this change, dynamic memory allocation is only used
for testing purpose. This change is one of the many steps to
make instrument profiler dynamic allocation free.
llvm-svn: 269453
|
|
|
|
|
|
|
| |
Move runtime specific code from the common header file
to runtime source.
llvm-svn: 269357
|
|
|
|
| |
llvm-svn: 269351
|
|
|
|
|
|
|
|
| |
Do not precompute value counts for all sites. This
eliminates one more use of dynamic allocation
in profiler writer.
llvm-svn: 269254
|
|
|
|
| |
llvm-svn: 269237
|
|
|
|
|
|
|
| |
Revert r268864 that reverted 268840 after underlying problem
is fixed for arm bot.
llvm-svn: 268992
|
|
|
|
| |
llvm-svn: 268952
|
|
|
|
|
|
|
|
| |
This reverts commit r268840, as it breaks Thumb2 self-hosting. There is something
unstable in the profiling for Thumb2 that needs to be sorted out before we continue
implementing these changes to the profiler. See PR27667.
llvm-svn: 268864
|
|
|
|
|
|
|
|
| |
With this patch, value data are longer pre-collected
before writing. The code is simplified and requires
less heap space for dumping.
llvm-svn: 268840
|
|
|
|
|
|
|
| |
DataValueSize is now removed. The change is consolidated
with previous raw version bump.
llvm-svn: 268704
|
|
|
|
| |
llvm-svn: 268603
|
|
|
|
| |
llvm-svn: 265609
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to function names
Summary:
Hopefully this will make it easier for the next person to figure all
this out...
Reviewers: bogner, davidxl
Subscribers: davidxl, cfe-commits
Differential Revision: http://reviews.llvm.org/D18489
llvm-svn: 264680
|