aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2020-07-28 18:36:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-28 18:36:36 +0000
commita75504f7369dd373e0ea12241b70b9b4cbcb939c (patch)
tree56fc045a0c3a33a8e0421d27f040326464cb9ca0
parent4a3e855ecbea6bc86773b0700af6908bcf5fec78 (diff)
parent01c052bc147dab8e658b81fbac21e77a67a4e5f4 (diff)
downloadlibbcc-a75504f7369dd373e0ea12241b70b9b4cbcb939c.tar.gz
Merge "Update language to comply with Android’s inclusive language guidance" am: 24835798f6 am: 6411e17e03 am: 8348e90fe8 am: 7c060b575f am: 01c052bc14
Original change: https://android-review.googlesource.com/c/platform/frameworks/compile/libbcc/+/1372996 Change-Id: I44ab3acf2f413887b57b71e8e2d5b5f109fbf10c
-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;