Skip to content
Snippets Groups Projects
Commit 8afa2bfb authored by Sanjoy Das's avatar Sanjoy Das Committed by Ian Lance Taylor
Browse files

compiler: Define and use backend-independent Location class.


From Sanjoy Das.

	* go-location.h: New file.
	* go-linemap.cc: New file.
	* go-gcc.cc: Change all uses of source_location to Location.
	* Make-lang.in (GO_OBJS): Add go/go-linemap.o.
	(GO_LINEMAP_H): New variable.
	(GO_LEX_H): Use $(GO_LINEMAP_H).
	(GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise.
	(go/go-linemap.o): New target.

Co-Authored-By: default avatarIan Lance Taylor <iant@google.com>

From-SVN: r181813
parent 09ad58e6
No related branches found
No related tags found
No related merge requests found
Showing
with 1148 additions and 722 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment