Skip to content

Commit 9272ada

Browse files
committed
Add back declaration for emscripten_get_module_name
This looks somehow deleted during the conflict resolution.
1 parent b2ae09e commit 9272ada

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system/lib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,10 @@ uptr GetPageSize() {
12501250
}
12511251
# endif // !SANITIZER_ANDROID
12521252

1253+
# if SANITIZER_EMSCRIPTEN
1254+
extern "C" uptr emscripten_get_module_name(char *buf, uptr buf_len);
1255+
# endif
1256+
12531257
uptr ReadBinaryName(/*out*/ char *buf, uptr buf_len) {
12541258
# if SANITIZER_SOLARIS
12551259
const char *default_module_name = getexecname();

0 commit comments

Comments
 (0)