~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to tools/lto/LTOCodeGenerator.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-04-10 23:38:33 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120410233833-5ibwguerdnr58six
Tags: 3.1~svn154439-1
* New snapshot release
* Change the soname to match what Debian is expecting
* Clean up the dh_shlibdeps call

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  const void *compile(size_t *length, std::string &errMsg);
55
55
  void setCodeGenDebugOptions(const char *opts);
56
56
 
 
57
  void enableInternalizePass() { _runInternalizePass = true; }
 
58
 
57
59
private:
58
60
  bool generateObjectFile(llvm::raw_ostream &out, std::string &errMsg);
59
61
  void applyScopeRestrictions();
70
72
  llvm::TargetMachine*        _target;
71
73
  bool                        _emitDwarfDebugInfo;
72
74
  bool                        _scopeRestrictionsDone;
 
75
  bool                        _runInternalizePass;
73
76
  lto_codegen_model           _codeModel;
74
77
  StringSet                   _mustPreserveSymbols;
75
78
  StringSet                   _asmUndefinedRefs;