Vendor import of compiler-rt release_60 branch r325330:
https://llvm.org/svn/llvm-project/compiler-rt/branches/release_60@325330
This commit is contained in:
parent
ee3c57deda
commit
2fb14b7233
@ -32,6 +32,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <dlfcn.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@ -214,7 +215,7 @@ void AsanCheckIncompatibleRT() {
|
||||
// the functions in dynamic ASan runtime instead of the functions in
|
||||
// system libraries, causing crashes later in ASan initialization.
|
||||
MemoryMappingLayout proc_maps(/*cache_enabled*/true);
|
||||
char filename[128];
|
||||
char filename[PATH_MAX];
|
||||
MemoryMappedSegment segment(filename, sizeof(filename));
|
||||
while (proc_maps.Next(&segment)) {
|
||||
if (IsDynamicRTName(segment.filename)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user