SuccessChanges

Summary

  1. [XRay][compiler-rt] Remove dependency on FileCheck from function id utilities tests Follow-up on D32846 to simplify testing and not rely on FileCheck to test boundary conditions, and instead do all the testing in code instead.
  2. [ubsan] Fix error summary message for ObjC BOOL invalid loads
  3. [XRay][compiler-rt] Add function id utilities for XRay Summary: This change allows us to provide users and implementers of XRay handlers a means of converting XRay function id's to addresses. This, in combination with the facilities provided in D32695, allows users to find out: - How many function id's there are defined in the current binary. - Get the address of the function associated with this function id. - Patch only specific functions according to their requirements. While we don't directly provide symbolization support in XRay, having the function's address lets users determine this information easily either during runtime, or offline with tools like 'addr2line'. Reviewers: dblaikie, echristo, pelikan Subscribers: kpw, llvm-commits Differential Revision: https://reviews.llvm.org/D32846
  4. Update VP prof metadata during inlining. Summary: r298270 added profile update logic for branch_weights. This patch implements profile update logic for VP prof metadata too. Reviewers: eraman, tejohnson, davidxl Reviewed By: eraman Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32773
Revision 302212 by dberris:
[XRay][compiler-rt] Remove dependency on FileCheck from function id utilities tests

Follow-up on D32846 to simplify testing and not rely on FileCheck to
test boundary conditions, and instead do all the testing in code
instead.
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/xray/TestCases/Linux/func-id-utils.cc (diff)llvm-revision.src/compiler-rt/trunk/test/xray/TestCases/Linux/func-id-utils.cc
Revision 302211 by Vedant Kumar:
[ubsan] Fix error summary message for ObjC BOOL invalid loads
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_handlers.cc (diff)llvm-revision.src/compiler-rt/trunk/lib/ubsan/ubsan_handlers.cc
The file was added/compiler-rt/trunk/test/ubsan/TestCases/Misc/bool.mllvm-revision.src/compiler-rt/trunk/test/ubsan/TestCases/Misc/bool.m
Revision 302210 by dberris:
[XRay][compiler-rt] Add function id utilities for XRay

Summary:
This change allows us to provide users and implementers of XRay handlers
a means of converting XRay function id's to addresses. This, in
combination with the facilities provided in D32695, allows users to find
out:

  - How many function id's there are defined in the current binary.
  - Get the address of the function associated with this function id.
  - Patch only specific functions according to their requirements.

While we don't directly provide symbolization support in XRay, having
the function's address lets users determine this information easily
either during runtime, or offline with tools like 'addr2line'.

Reviewers: dblaikie, echristo, pelikan

Subscribers: kpw, llvm-commits

Differential Revision: https://reviews.llvm.org/D32846
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/include/xray/xray_interface.h (diff)llvm-revision.src/compiler-rt/trunk/include/xray/xray_interface.h
The file was modified/compiler-rt/trunk/lib/xray/xray_interface.cc (diff)llvm-revision.src/compiler-rt/trunk/lib/xray/xray_interface.cc
The file was added/compiler-rt/trunk/test/xray/TestCases/Linux/func-id-utils.ccllvm-revision.src/compiler-rt/trunk/test/xray/TestCases/Linux/func-id-utils.cc
Revision 302209 by dehao:
Update VP prof metadata during inlining.

Summary: r298270 added profile update logic for branch_weights. This patch implements profile update logic for VP prof metadata too.

Reviewers: eraman, tejohnson, davidxl

Reviewed By: eraman

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D32773
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/Instruction.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/Instruction.cpp
The file was modified/llvm/trunk/test/Transforms/Inline/prof-update.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/Inline/prof-update.ll