summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin.dev@gmail.com>2016-04-15 14:56:50 +0000
committerIgor Kudrin <ikudrin.dev@gmail.com>2016-04-15 14:56:50 +0000
commit061d496c511b02a0c2bd394539c757c5ad4511e3 (patch)
tree2a74d228a4d1a319e950414d2b4b078507494716 /llvm/lib/CodeGen/MachineScheduler.cpp
parent81433e99b9a770ccbd086b80390031a4ea708dbd (diff)
downloadbcm5719-llvm-061d496c511b02a0c2bd394539c757c5ad4511e3.tar.gz
bcm5719-llvm-061d496c511b02a0c2bd394539c757c5ad4511e3.zip
[Coverage] Prevent detection of false instantiations in case of macro expansion.
The root of the problem was that findMainViewFileID(File, Function) could return some ID for any given file, even though that file was not the main file for that function. This patch ensures that the result of this function is conformed with the result of findMainViewFileID(Function). Differential Revision: http://reviews.llvm.org/D18787 llvm-svn: 266436
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud