Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: tools/ubsan/vptr_blacklist.txt

Issue 2562463002: Adding SwiftShader compilation to Linux (Closed)
Patch Set: Landing linux compilation with ubsan fix Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ############################################################################# 1 #############################################################################
2 # UBSan vptr blacklist. 2 # UBSan vptr blacklist.
3 # Function and type based blacklisting use a mangled name, and it is especially 3 # Function and type based blacklisting use a mangled name, and it is especially
4 # tricky to represent C++ types. For now, any possible changes by name manglings 4 # tricky to represent C++ types. For now, any possible changes by name manglings
5 # are simply represented as wildcard expressions of regexp, and thus it might be 5 # are simply represented as wildcard expressions of regexp, and thus it might be
6 # over-blacklisted. 6 # over-blacklisted.
7 7
8 ############################################################################# 8 #############################################################################
9 # Identical layouts. 9 # Identical layouts.
10 # If base and derived classes have identifical memory layouts (i.e., the same 10 # If base and derived classes have identifical memory layouts (i.e., the same
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 # obj/chrome/libbrowser.a(obj/chrome/browser/net/browser.predictor.o):../../chro me/browser/net/predictor.cc:__unnamed_577: error: undefined reference to 'typein fo for ProxyAdvisor' 89 # obj/chrome/libbrowser.a(obj/chrome/browser/net/browser.predictor.o):../../chro me/browser/net/predictor.cc:__unnamed_577: error: undefined reference to 'typein fo for ProxyAdvisor'
90 src:*/chrome/browser/net/predictor.cc 90 src:*/chrome/browser/net/predictor.cc
91 91
92 # obj/third_party/pdfium/libfpdfapi.a(obj/third_party/pdfium/core/src/fpdfapi/fp df_render/fpdfapi.fpdf_render_text.o):../../third_party/pdfium/core/src/fpdfapi/ fpdf_render/:__unnamed_360: error: undefined reference to 'typeinfo for CPDF_Inl ineImages' 92 # obj/third_party/pdfium/libfpdfapi.a(obj/third_party/pdfium/core/src/fpdfapi/fp df_render/fpdfapi.fpdf_render_text.o):../../third_party/pdfium/core/src/fpdfapi/ fpdf_render/:__unnamed_360: error: undefined reference to 'typeinfo for CPDF_Inl ineImages'
93 src:*/third_party/pdfium/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp 93 src:*/third_party/pdfium/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
94 94
95 # obj/third_party/libwebm/libwebm.a(obj/third_party/libwebm/source/libwebm.mkvmu xer.o)(.data.rel..L__unnamed_2+0x18): error: undefined reference to 'typeinfo fo r mkvparser::IMkvReader' 95 # obj/third_party/libwebm/libwebm.a(obj/third_party/libwebm/source/libwebm.mkvmu xer.o)(.data.rel..L__unnamed_2+0x18): error: undefined reference to 'typeinfo fo r mkvparser::IMkvReader'
96 src:*/third_party/libwebm/source/mkvmuxer.cpp 96 src:*/third_party/libwebm/source/mkvmuxer.cpp
97 97
98 ############################################################################# 98 #############################################################################
99 # LLVM is not UBSan vptr clean.
100 src:*third_party/swiftshader/third_party/LLVM*
101
102 #############################################################################
99 # UBSan seems to be emit false positives when virtual base classes are 103 # UBSan seems to be emit false positives when virtual base classes are
100 # involved, see e.g. crbug.com/448102. 104 # involved, see e.g. crbug.com/448102.
101 105
102 type:*v8*internal*OFStream* 106 type:*v8*internal*OFStream*
103 107
104 ############################################################################# 108 #############################################################################
105 # UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV. 109 # UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV.
106 # 110 #
107 111
108 # static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile. 112 # static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile.
109 type:*StartPageService* 113 type:*StartPageService*
110 114
111 # Remove once function attribute level blacklisting is implemented. 115 # Remove once function attribute level blacklisting is implemented.
112 # See crbug.com/476063. 116 # See crbug.com/476063.
113 fun:*forbidGCDuringConstruction* 117 fun:*forbidGCDuringConstruction*
114 118
115 ############################################################################# 119 #############################################################################
116 # UBsan goes into an infinite recursion when __dynamic_cast instrumented with 120 # UBsan goes into an infinite recursion when __dynamic_cast instrumented with
117 # "vptr". See crbug.com/609786. 121 # "vptr". See crbug.com/609786.
118 122
119 src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp 123 src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp
120 124
121 ############################################################################# 125 #############################################################################
122 # invalid downcasts for IPC messages 126 # invalid downcasts for IPC messages
123 # https://crbug.com/520760 127 # https://crbug.com/520760
124 src:*nacl_message_scanner.cc 128 src:*nacl_message_scanner.cc
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698