We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507c67d commit 015c431Copy full SHA for 015c431
lld/test/MachO/tools/generate-cfi-funcs.py
@@ -23,7 +23,7 @@ def print_function(name):
23
global lsda_odds
24
have_lsda = (random.random() < lsda_odds)
25
frame_size = random.randint(4, 64) * 16
26
- frame_offset = -random.randint(0, (frame_size/16 - 4)) * 16
+ frame_offset = -random.randint(0, int(frame_size/16 - 4)) * 16
27
global func_size_low, func_size_high
28
func_size = random.randint(func_size_low, func_size_high) * 0x10
29
func_size_high += 1
0 commit comments