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