From: Vitaly Buka Date: Thu, 11 Aug 2022 03:38:55 +0000 (-0700) Subject: [msan] Another try for powerpc fix after D131205 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1040c455f44b414b36a459b7d79d808a99cda08;p=platform%2Fupstream%2Fllvm.git [msan] Another try for powerpc fix after D131205 --- diff --git a/compiler-rt/lib/msan/msan.cpp b/compiler-rt/lib/msan/msan.cpp index bb2b7b8..c1c6805 100644 --- a/compiler-rt/lib/msan/msan.cpp +++ b/compiler-rt/lib/msan/msan.cpp @@ -600,13 +600,6 @@ void __msan_set_alloca_origin4(void *a, uptr size, char *descr, uptr pc) { u32 idx = atomic_fetch_add(&NumStackOriginDescrs, 1, memory_order_relaxed); CHECK_LT(idx, kNumStackOriginDescrs); StackOriginDescr[idx] = descr + 4; -#if SANITIZER_PPC64V1 - // On PowerPC64 ELFv1, the address of a function actually points to a - // three-doubleword data structure with the first field containing - // the address of the function's code. - if (pc) - pc = *reinterpret_cast(pc); -#endif StackOriginPC[idx] = pc; id = Origin::CreateStackOrigin(idx).raw_id(); *id_ptr = id;