aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2020-07-26 22:34:08 -0700
committerPirama Arumuga Nainar <pirama@google.com>2020-07-26 22:34:08 -0700
commitb85ce440ff69d1d1e1fce7a8a524c6b7364d5ecc (patch)
treef31518745bd4e60cb60251d9d496d61dc87bbc5e
parent14f73b9f0d79af96dc3912a941ebae85042b99d6 (diff)
downloadlibbcc-b85ce440ff69d1d1e1fce7a8a524c6b7364d5ecc.tar.gz
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: mmma frameworks/compile/libbcc Change-Id: I861719b596c1e9d7880696787e73919102ec5330
-rw-r--r--lib/Android.bp2
-rw-r--r--lib/RSFunctionsList.cpp (renamed from lib/RSStubsWhiteList.cpp)2
-rw-r--r--lib/RSFunctionsList.h (renamed from lib/RSStubsWhiteList.h)6
-rw-r--r--lib/RSScreenFunctionsPass.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
index d5a33f6..addae03 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -35,7 +35,7 @@ cc_library {
"RSKernelExpand.cpp",
"RSScreenFunctionsPass.cpp",
"RSScriptGroupFusion.cpp",
- "RSStubsWhiteList.cpp",
+ "RSFunctionsList.cpp",
"RSX86CallConvPass.cpp",
"RSX86TranslateGEPPass.cpp",
"Script.cpp",
diff --git a/lib/RSStubsWhiteList.cpp b/lib/RSFunctionsList.cpp
index fc93b60..d2845b5 100644
--- a/lib/RSStubsWhiteList.cpp
+++ b/lib/RSFunctionsList.cpp
@@ -16,7 +16,7 @@
// Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
-#include "RSStubsWhiteList.h"
+#include "RSFunctionsList.h"
std::array<std::string_view, 2328> stubList = {
"_Z10half_recipDv2_f",
diff --git a/lib/RSStubsWhiteList.h b/lib/RSFunctionsList.h
index 17e64ce..f60af97 100644
--- a/lib/RSStubsWhiteList.h
+++ b/lib/RSFunctionsList.h
@@ -16,8 +16,8 @@
// Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
-#ifndef RSStubsWhiteList_H
-#define RSStubsWhiteList_H
+#ifndef RSFunctionsList_H
+#define RSFunctionsList_H
#include <cstdlib>
#include <array>
@@ -25,4 +25,4 @@
extern std::array<std::string_view, 2328> stubList;
-#endif // RSStubsWhiteList_H
+#endif // RSFunctionsList_H
diff --git a/lib/RSScreenFunctionsPass.cpp b/lib/RSScreenFunctionsPass.cpp
index 26fb4ea..9a63ebd 100644
--- a/lib/RSScreenFunctionsPass.cpp
+++ b/lib/RSScreenFunctionsPass.cpp
@@ -16,7 +16,7 @@
#include "Log.h"
#include "RSTransforms.h"
-#include "RSStubsWhiteList.h"
+#include "RSFunctionsList.h"
#include <cstdlib>
@@ -48,7 +48,7 @@ private:
// A global function symbol is legal if
// a. it has a body, i.e. is not empty or
// b. its name starts with "llvm." or
- // c. it is present in the whitelist
+ // c. it is present in the RS Functions list.
if (!F.empty())
return true;