[llvm-commits] Add scope support for Absolute symbols

Sid Manning sidneym at codeaurora.org
Wed Oct 17 08:17:53 PDT 2012


Add support for this cases where absolute symbols binding types.  This 
is the example:

.globl absSymbol
.set absSymbol,0xC0000
.type absSymbol, @object

.local absSymbol2
.set absSymbol2,0xD0000
.type absSymbol2, @object

This patch changes the following:
   * Moves enum Scope from DefinedAtom.h to Atom.h
   * Adds scope method to AbsoluteAtom class
   * Updates YAML to print scope of AbsoluteAtoms
   * Update Native Reader/Writer to handle this new, "attribute"
   * Adds testcase


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: absAtom.diff
Type: text/x-patch
Size: 19135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121017/c1d92a02/attachment.bin>


More information about the llvm-commits mailing list