summaryrefslogtreecommitdiff
path: root/lldb/scripts
diff options
context:
space:
mode:
authorChelsea Cassanova <chelsea_cassanova@apple.com>2025-07-30 23:04:22 -0700
committerGitHub <noreply@github.com>2025-07-30 23:04:22 -0700
commitcade1e29b2c9ab0d0ff4931231b6958ad04d1ebc (patch)
tree78a207e93a81dcb59c593b94cfe5842bb2e9f2e3 /lldb/scripts
parentbe449d6b6587af30fd999a8ede88ff06bb7535df (diff)
[lldb][rpc] Only use guard names in framework script (#151391)
Removes the U that comes before the guards passed into the framework fixup script.
Diffstat (limited to 'lldb/scripts')
-rwxr-xr-xlldb/scripts/framework-header-fix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/framework-header-fix.py b/lldb/scripts/framework-header-fix.py
index aa034db36968..36c5c67c59d3 100755
--- a/lldb/scripts/framework-header-fix.py
+++ b/lldb/scripts/framework-header-fix.py
@@ -112,7 +112,7 @@ def main():
# but passing them in with dashes for this script causes argparse to think that they're
# arguments in and of themself, so they need to passed in without dashes.
if args.unifdef_guards:
- unifdef_guards = ["-" + guard for guard in args.unifdef_guards]
+ unifdef_guards = ["-U" + guard for guard in args.unifdef_guards]
# Create the framework's header dir if it doesn't already exist
if not os.path.exists(os.path.dirname(output_file_path)):