Ticket #57130: patch-map-anonymous-replacement.diff
File patch-map-anonymous-replacement.diff, 494 bytes (added by kencu (Ken), 6 years ago) |
---|
-
llvm-7.0.0rc2.src/projects/compiler-rt/CMakeLists.txt
old new 195 195 add_definitions(-D__func__=__FUNCTION__) 196 196 endif() 197 197 198 # replace MAP_ANONYMOUS 199 add_definitions(-DMAP_ANONYMOUS=MAP_ANON) 200 198 201 # Provide some common commmandline flags for Sanitizer runtimes. 199 202 if(NOT WIN32) 200 203 append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC SANITIZER_COMMON_CFLAGS)