Files
UnrealEngineUWP/Engine/Build/BatchFiles/Mac/SourceCodeLookup.sh
calvin zheng e984cb141a Fix for NavigateToFunctionSource crash/error, use xcode built in atos instead of UnrealAtoS as it can't handle universal build.
#jira UE-195221
#rb Josh.Adams, Zack.Neyland

[CL 28758868 by calvin zheng in 5.3 branch]
2023-10-13 13:13:54 -04:00

13 lines
297 B
Bash
Executable File

#!/bin/sh
# Copyright Epic Games, Inc. All Rights Reserved.
FunctionName=$1
DylibFullPath=$2
if [ -f "$DylibFullPath" ]; then
nm -Cg "$DylibFullPath" | grep "\b$FunctionName\b" | cut -d' ' -f1 | atos --fullPath -o "$DylibFullPath"
else
echo "$DylibFullPath does not exist"
exit 1
fi