aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2021-01-26 12:25:28 -0800
committerPetr Hosek <phosek@google.com>2021-01-26 12:25:28 -0800
commit1e634f3952aa3914d9f962ac1151fccb4469d8ac (patch)
tree96d125971b1dbe27cd7af60fef2b9f48a6d3d4ec /llvm/lib/IR/Attributes.cpp
parent7636b1f6efd56063adcde4f908740660365462a5 (diff)
downloadllvm-1e634f3952aa3914d9f962ac1151fccb4469d8ac.zip
llvm-1e634f3952aa3914d9f962ac1151fccb4469d8ac.tar.gz
llvm-1e634f3952aa3914d9f962ac1151fccb4469d8ac.tar.bz2
Revert "Support for instrumenting only selected files or functions"
This reverts commit 4edf35f11a9e20bd5df3cb47283715f0ff38b751 because the test fails on Windows bots.
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index c4629de..b17673f 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -403,8 +403,6 @@ std::string Attribute::getAsString(bool InAttrGrp) const {
return "nocf_check";
if (hasAttribute(Attribute::NoRecurse))
return "norecurse";
- if (hasAttribute(Attribute::NoProfile))
- return "noprofile";
if (hasAttribute(Attribute::NoUnwind))
return "nounwind";
if (hasAttribute(Attribute::OptForFuzzing))