Skip to content

Commit d4af5f7

Browse files
fixup! [XRay] Add DSO support for XRay instrumentation on X86_64
1 parent fdd3ba7 commit d4af5f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler-rt/lib/xray/xray_interface.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ bool patchSled(const XRaySledEntry &Sled, bool Enable, int32_t FuncId,
165165
bool Success = false;
166166
switch (Sled.Kind) {
167167
case XRayEntryType::ENTRY:
168-
Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines, /*LogArgs=*/false);
168+
Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines,
169+
/*LogArgs=*/false);
169170
break;
170171
case XRayEntryType::EXIT:
171172
Success = patchFunctionExit(Enable, FuncId, Sled, Trampolines);
@@ -174,7 +175,8 @@ bool patchSled(const XRaySledEntry &Sled, bool Enable, int32_t FuncId,
174175
Success = patchFunctionTailExit(Enable, FuncId, Sled, Trampolines);
175176
break;
176177
case XRayEntryType::LOG_ARGS_ENTRY:
177-
Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines, /*LogArgs=*/true);
178+
Success =
179+
patchFunctionEntry(Enable, FuncId, Sled, Trampolines, /*LogArgs=*/true);
178180
break;
179181
case XRayEntryType::CUSTOM_EVENT:
180182
Success = patchCustomEvent(Enable, FuncId, Sled);

0 commit comments

Comments
 (0)