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

Issue 2343063002: ThinLTO: workaround LLVM bug related to -nostdlib. (Closed)

Created:
4 years, 3 months ago by krasin1
Modified:
4 years, 3 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ThinLTO: workaround an LLVM bug related to -nostdlib. In short, an LTO optimization pass might recognize naive implementations of builtins (such as memset) and replace them with references to the real builtins, which, in the case of -nostdlib, might cause the binary to get undefined references to those symbols. See more details: https://llvm.org/bugs/show_bug.cgi?id=30403 BUG=645295 Committed: https://crrev.com/538cb2b112587d65560fa818d6e707ac54bf553c Cr-Commit-Position: refs/heads/master@{#419233}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add more explanations #

Patch Set 3 : revert debug change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M chrome/test/data/nacl/BUILD.gn View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
krasin1
4 years, 3 months ago (2016-09-16 01:02:52 UTC) #4
Mark Seaborn
LGTM https://codereview.chromium.org/2343063002/diff/1/chrome/test/data/nacl/BUILD.gn File chrome/test/data/nacl/BUILD.gn (right): https://codereview.chromium.org/2343063002/diff/1/chrome/test/data/nacl/BUILD.gn#newcode558 chrome/test/data/nacl/BUILD.gn:558: # Workaround against LLVM bug: Can you put ...
4 years, 3 months ago (2016-09-16 17:30:46 UTC) #12
krasin1
Thank you, Mark! https://codereview.chromium.org/2343063002/diff/1/chrome/test/data/nacl/BUILD.gn File chrome/test/data/nacl/BUILD.gn (right): https://codereview.chromium.org/2343063002/diff/1/chrome/test/data/nacl/BUILD.gn#newcode558 chrome/test/data/nacl/BUILD.gn:558: # Workaround against LLVM bug: On ...
4 years, 3 months ago (2016-09-16 17:54:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2343063002/40001
4 years, 3 months ago (2016-09-16 17:55:19 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-16 18:47:39 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 18:49:10 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/538cb2b112587d65560fa818d6e707ac54bf553c
Cr-Commit-Position: refs/heads/master@{#419233}

Powered by Google App Engine
This is Rietveld 408576698