commit | 6f0d4e358fda7fd7c95106c49b650f1d78000f79 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sun May 04 00:03:41 2014 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sun May 04 00:03:41 2014 +0000 |
tree | 78689fc94097d74c298baa049ad05b5ae05d3a00 | |
parent | b3428a05a021bf067f70cd5363b70833f962c14f [diff] |
X86: refactor export directive generation Create a helper function to generate the export directive. This was previously duplicated inline to handle export directives for variables and functions. This also enables the use of range-based iterators for the generation of the directive rather than the traditional loops. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207925 91177308-0d34-0410-b5e6-96231b3b80d8