projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
887c766
)
Replace the equivalent code by UnionTableAddr
author
Jianzhou Zhao
<jianzhouzh@google.com>
Thu, 19 Nov 2020 04:39:25 +0000
(
04:39
+0000)
committer
Jianzhou Zhao
<jianzhouzh@google.com>
Thu, 19 Nov 2020 20:15:25 +0000
(20:15 +0000)
UnionTableAddr is always inlined.
Reviewed-by: morehouse
Differential Revision: https://reviews.llvm.org/
DD91758
compiler-rt/lib/dfsan/dfsan.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/dfsan/dfsan.cpp
b/compiler-rt/lib/dfsan/dfsan.cpp
index 36381c6896ae741bf8dbe1d473cdbcd2e1121c72..db610857834c068153d8e571dacc548dfb3bfcff 100644
(file)
--- a/
compiler-rt/lib/dfsan/dfsan.cpp
+++ b/
compiler-rt/lib/dfsan/dfsan.cpp
@@
-144,8
+144,7
@@
int __dfsan::vmaSize;
#endif
static uptr UnusedAddr() {
- return MappingArchImpl<MAPPING_UNION_TABLE_ADDR>()
- + sizeof(dfsan_union_table_t);
+ return UnionTableAddr() + sizeof(dfsan_union_table_t);
}
static atomic_dfsan_label *union_table(dfsan_label l1, dfsan_label l2) {