/src/wrappers/llvm/library/support/llvm_memory_buffer.e

http://github.com/tybor/Liberty · Specman e · 29 lines · 6 code · 6 blank · 17 comment · 0 complexity · 3eddf9da4fd4110c8ac604b18c2db078 MD5 · raw file

  1. class LLVM_MEMORY_BUFFER
  2. -- Used to provide a module to JIT or interpreter. See the llvm::MemoryBuffer C++ class.
  3. inherit
  4. OPAQUE_TYPE
  5. insert CORE_EXTERNALS
  6. create {ANY} from_external_pointer
  7. end -- class LLVM_MEMORY_BUFFER
  8. -- Copyright (C) 2010-2017: Paolo Redaelli
  9. --
  10. -- This library is free software; you can redistribute it and/or
  11. -- modify it under the terms of the GNU Lesser General Public License
  12. -- as published by the Free Software Foundation; either version 2.1 of
  13. -- the License, or (at your option) any later version.
  14. --
  15. -- This library is distributed in the hope that it will be useful, but
  16. -- WITHOUT ANY WARRANTY; without even the implied warranty of
  17. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. -- Lesser General Public License for more details.
  19. --
  20. -- You should have received a copy of the GNU Lesser General Public
  21. -- License along with this library; if not, write to the Free Software
  22. -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  23. -- 02110-1301 USA