summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-08-02 22:27:15 +0000
committerRui Ueyama <ruiu@google.com>2013-08-02 22:27:15 +0000
commitf6e90afbf4bfee9894fed71656969bdee410b1d4 (patch)
tree189da52aa7885bc47e2b148b8ca441ffb852235e /llvm/lib
parent3d27dad72851db4f7353387dbc46948dae476b97 (diff)
downloadbcm5719-llvm-f6e90afbf4bfee9894fed71656969bdee410b1d4.tar.gz
bcm5719-llvm-f6e90afbf4bfee9894fed71656969bdee410b1d4.zip
[PECOFF] Remove COFFDefinedFileAtom::originalOffset().
The aim of this patch is to reduce the dependency from COFFDefinedAtom to COFF structs defined in llvm/Object/COFF.h. Currently many attributes of the atom are computed in the atom. That provide a simple interface but does not work well in some cases. There are some cases that the same type atom is created from different parts of a COFF file. One example is the BSS atom, which can be created from the defined symbol in the .bss section or from the undefined symbol. Computing attributes from different sources in the atom complicates the code. We should compute it outside the atom. In the next patch, I'll move more code from Atoms.h to ReaderCOFF.cpp. llvm-svn: 187681
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud