• jgruber's avatar
    [ia32] Fix off-heap trampoline handling · 9d341c4c
    jgruber authored
    This fixes several issues related to off-heap trampoline handling on
    ia32.
    
    Unlike other architectures, ia32 uses a pc-relative call/jump for the
    off-heap trampoline. That means we cannot skip reloc info emission,
    and we need to relocate when the buffer grows during code generation.
    
    Finally, inlined trampolines must not clobber and thus also need to
    use a pc-relative call/jump.
    
    Drive-by: Use PreserveRootIA32 config only for whitelisted builtins to
    build successfully by default.
    
    Bug: v8:6666
    Change-Id: I2b72147c6c70036cd13d8b22e2c80ade786c47b8
    Reviewed-on: https://chromium-review.googlesource.com/1188316
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55397}
    9d341c4c
reloc-info.h 16.7 KB