Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Issue 1129013004: Use -mc-relax-all flag for sandboxed translator (Closed)

Created:
5 years, 7 months ago by Petr Hosek
Modified:
5 years, 5 months ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use -mc-relax-all flag for sandboxed translator This enables LLVM MC to write instruction padding directly into fragments reducing memory usage of the sandboxed translator. BUG=https://code.google.com/p/nativeclient/issues/detail?id=4063 TEST=toolchain trybots R=mseaborn@chromium.org Committed: https://chromium.googlesource.com/native_client/pnacl-llvm/+/56b07283d8febb0bbb5bf2c96ca03ffd930dfba3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add a comment explaining the change #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M tools/pnacl-llc/pnacl-llc.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
Petr Hosek
5 years, 7 months ago (2015-05-15 01:32:15 UTC) #2
Mark Seaborn
LGTM once the trybot runs pass. https://chromiumcodereview.appspot.com/1129013004/diff/1/tools/pnacl-llc/pnacl-llc.cpp File tools/pnacl-llc/pnacl-llc.cpp (right): https://chromiumcodereview.appspot.com/1129013004/diff/1/tools/pnacl-llc/pnacl-llc.cpp#newcode709 tools/pnacl-llc/pnacl-llc.cpp:709: Options.MCOptions.MCRelaxAll = true; ...
5 years, 7 months ago (2015-05-15 14:03:43 UTC) #3
Petr Hosek
https://chromiumcodereview.appspot.com/1129013004/diff/1/tools/pnacl-llc/pnacl-llc.cpp File tools/pnacl-llc/pnacl-llc.cpp (right): https://chromiumcodereview.appspot.com/1129013004/diff/1/tools/pnacl-llc/pnacl-llc.cpp#newcode709 tools/pnacl-llc/pnacl-llc.cpp:709: Options.MCOptions.MCRelaxAll = true; On 2015/05/15 14:03:42, Mark Seaborn wrote: ...
5 years, 7 months ago (2015-05-15 19:27:39 UTC) #4
Mark Seaborn
The trybots are failing with validation errors on x86-32 and x86-64. I tried comparing output ...
5 years, 7 months ago (2015-05-15 22:52:52 UTC) #5
Mark Seaborn
Hi Petr, I was able to reproduce the validation failures by adding "-mc-relax-all" into pnacl-translate.py ...
5 years, 7 months ago (2015-05-20 22:02:48 UTC) #6
Mark Seaborn
On 20 May 2015 at 23:02, Mark Seaborn <mseaborn@chromium.org> wrote: > It looks like the ...
5 years, 7 months ago (2015-05-20 23:14:19 UTC) #7
Mark Seaborn
Petr wrote: > I run the change through pnacl toolchain trybots, but I'm seeing some ...
5 years, 6 months ago (2015-05-28 11:37:25 UTC) #8
Mark Seaborn
On 28 May 2015 at 12:37, Mark Seaborn <mseaborn@chromium.org> wrote: > Petr wrote: > >> ...
5 years, 6 months ago (2015-05-28 15:28:05 UTC) #9
Mark Seaborn
On 28 May 2015 at 16:27, Mark Seaborn <mseaborn@chromium.org> wrote: > I checked: The linker ...
5 years, 6 months ago (2015-05-28 15:43:33 UTC) #10
Mark Seaborn
Here is a more direct reproducer for the string table misassembly: $ cat asm_reloc_test3.ll @.str1 ...
5 years, 6 months ago (2015-05-31 18:38:42 UTC) #11
Petr Hosek
5 years, 5 months ago (2015-06-30 01:17:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
56b07283d8febb0bbb5bf2c96ca03ffd930dfba3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698