[llvm-commits] [compiler-rt] r162739 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
Alexey Samsonov
samsonov at google.com
Tue Aug 28 00:22:24 PDT 2012
Author: samsonov
Date: Tue Aug 28 02:22:24 2012
New Revision: 162739
URL: http://llvm.org/viewvc/llvm-project?rev=162739&view=rev
Log:
[Sanitizer] One more method stub for Windows
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h?rev=162739&r1=162738&r2=162739&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h Tue Aug 28 02:22:24 2012
@@ -24,10 +24,14 @@
MemoryMappingLayout() {
UNIMPLEMENTED();
}
+ bool GetObjectNameAndOffset(uptr addr, uptr *offset,
+ char filename[], uptr filename_size) {
+ UNIMPLEMENTED();
+ return false;
+ }
};
#else // _WIN32
-
class MemoryMappingLayout {
public:
MemoryMappingLayout();
@@ -71,12 +75,12 @@
return false;
}
-#if defined __linux__
+# if defined __linux__
char *proc_self_maps_buff_;
uptr proc_self_maps_buff_mmaped_size_;
uptr proc_self_maps_buff_len_;
char *current_;
-#elif defined __APPLE__
+# elif defined __APPLE__
template<u32 kLCSegment, typename SegmentCommand>
bool NextSegmentLoad(uptr *start, uptr *end, uptr *offset,
char filename[], uptr filename_size);
@@ -84,7 +88,7 @@
u32 current_magic_;
int current_load_cmd_count_;
char *current_load_cmd_addr_;
-#endif
+# endif
};
#endif // _WIN32
More information about the llvm-commits
mailing list