Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6874)

Issue 165047: Implement no-canonical-prefixes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by espindola
Modified:
10 years, 11 months ago
Reviewers:
chandlerc
Visibility:
Public.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Implement no-canonical-prefixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M include/clang/Driver/Options.td View 1 1 chunk +2 lines, -0 lines 0 comments Download
M lib/Driver/Tools.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/driver/driver.cpp View 1 3 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 1
chandlerc
14 years, 5 months ago (2009-12-04 03:24:49 UTC) #1
http://codereview.appspot.com/165047/diff/1/4
File tools/driver/driver.cpp (right):

http://codereview.appspot.com/165047/diff/1/4#newcode66
tools/driver/driver.cpp:66: if (!CanonicalPrefixes)
Move this before the comment, it applies to the pointer manipulation below.

http://codereview.appspot.com/165047/diff/1/4#newcode69
tools/driver/driver.cpp:69: return llvm::sys::Path::GetMainExecutable(Argv0, P);
By avoiding this, you're turning off more than symlink resolution, but that
seems reasonable given the motivation for the CL. Maybe just document that it
also turns off all of the executable-identifying code as well (eg:
/proc/self/exe, or the various Darwin queries)?

http://codereview.appspot.com/165047/diff/1/4#newcode198
tools/driver/driver.cpp:198: CanonicalPrefixes = false;
Want to break here maybe?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b