This is an archive of the discontinued LLVM Phabricator instance.

Factor out common URL handling code in PlatformRemoteGDBServer
ClosedPublic

Authored by labath on Feb 19 2015, 4:27 AM.

Details

Summary

this also gets rid of a compiler warning in release builds by using a dynamically allocated
buffer. Therefore, a size assertion is not necessary (and probably should have been an error in
the first place).

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 20278.Feb 19 2015, 4:27 AM
labath retitled this revision from to Factor out common URL handling code in PlatformRemoteGDBServer.
labath updated this object.
labath edited the test plan for this revision. (Show Details)
labath added a reviewer: tberghammer.
labath added a subscriber: Unknown Object (MLST).
emaste added a subscriber: emaste.Feb 19 2015, 5:53 AM

Factoring LGTM

tberghammer accepted this revision.Feb 19 2015, 9:31 AM
tberghammer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 19 2015, 9:31 AM
vharron accepted this revision.Feb 19 2015, 9:42 AM
vharron added a reviewer: vharron.
vharron added a subscriber: vharron.

some minor suggestions. Greg is OOTO this week. Please land uncontroversial patches and we'll fix up when he gets back.

source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
40 ↗(On Diff #20278)

s/MakeConnectUrl/MakeGdbServerUrl/g

595 ↗(On Diff #20278)

nit: s/NULL/nullptr

This revision was automatically updated to reflect the committed changes.