hanchenye-llvm-project/llvm
Dehao Chen 100424124b Tolerate negative offset when matching sample profile.
In some cases (as illustrated in the unittest), lineno can be less than the heade_lineno because the function body are included from some other files. In this case, offset will be negative. This patch makes clang still able to match the profile to IR in this situation.

http://reviews.llvm.org/D13914

llvm-svn: 250873
2015-10-21 01:22:27 +00:00
..
autoconf
bindings Remove DIFile from createSubroutineType. 2015-10-15 06:56:10 +00:00
cmake [CMake] Refactor subdirectory inclusion code to take a project name. 2015-10-20 16:42:58 +00:00
docs [CMake] Adding LLVM_CREATE_XCODE_TOOLCHAIN to the CMake documentation page. 2015-10-15 20:12:08 +00:00
examples [JIT/Examples] Fix Fibonacci so that it runs again. 2015-10-17 06:36:46 +00:00
include Adding support for TargetLoweringBase::LibCall 2015-10-20 13:14:52 +00:00
lib Tolerate negative offset when matching sample profile. 2015-10-21 01:22:27 +00:00
projects
resources
test Tolerate negative offset when matching sample profile. 2015-10-21 01:22:27 +00:00
tools bugpoint: Remove implicit ilist iterator conversions, NFC 2015-10-20 19:36:39 +00:00
unittests unittests: Remove implicit ilist iterator conversions, NFC 2015-10-20 18:30:20 +00:00
utils Lit: Rework r249161; Move RLIMIT_NPROC to main.py. 2015-10-15 15:37:13 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] All the checks for if LLVM_VERSION_* variables are set need to be if(DEFINED ...) 2015-10-20 18:16:37 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.