Skip to content

Commit 61ccf2f

Browse files
committed
Move __msan_track_origin outside of anonymous namespace
1 parent d228952 commit 61ccf2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libdevice/sanitizer/msan_rtl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ DeviceGlobal<void *> __MsanLaunchInfo;
1313
#define GetMsanLaunchInfo \
1414
((__SYCL_GLOBAL__ MsanRuntimeData *)__MsanLaunchInfo.get())
1515

16-
namespace {
1716
extern "C" __attribute__((weak)) const int __msan_track_origins;
1817

18+
namespace {
19+
1920
constexpr int MSAN_REPORT_NONE = 0;
2021
constexpr int MSAN_REPORT_START = 1;
2122
constexpr int MSAN_REPORT_FINISH = 2;

0 commit comments

Comments
 (0)