search for: exportlist

Displaying 4 results from an estimated 4 matches for "exportlist".

Did you mean: export_list
2014 Nov 10
2
[LLVMdev] External names for LTO in gold plugin
...In the past, I had a tiny patch that I hadn't submitted to LLVM: it was something like: Index: Internalize.cpp =================================================================== --- Internalize.cpp (revision 221403) +++ Internalize.cpp (working copy) @@ -87,6 +87,7 @@ itr != ExportList.end(); itr++) { ExternalNames.insert(*itr); } + ExternalNames.insert(APIList.begin(), APIList.end()); } This adds the contents of the -internalize-public-api-list flag to the set of external names for the internalize pass, even when there are already some names being passed in the const...
2014 Sep 01
2
[LLVMdev] Problem linking and JITing code through C++-API
...m::Linker::PreserveSource, &errmsg ); if(failed) { std::cerr << errmsg << std::endl; return EXIT_FAILURE; } std::cout << "Linking done..." << std::endl; rtlib->dump(); // Run optimization passes. // std::vector<const char *> exportList; // llvm::PassManager Passes; // Passes.add(new llvm::DataLayout(rtlib)); // Passes.add(llvm::createDemoteRegisterToMemoryPass()); // Passes.add(llvm::createInternalizePass(exportList)); // Passes.add(llvm::createScalarReplAggregatesPass()); // Passes.add(llvm::createInstructionCombinin...
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
...std::cerr << errmsg << std::endl; > > return EXIT_FAILURE; > > } > > std::cout << "Linking done..." << std::endl; > > rtlib->dump(); > > // Run optimization passes. > > // std::vector<const char *> exportList; > > // llvm::PassManager Passes; > > // Passes.add(new llvm::DataLayout(rtlib)); > > // Passes.add(llvm::createDemoteRegisterToMemoryPass()); > > // Passes.add(llvm::createInternalizePass(exportList)); > > // Passes.add(llvm::createScalarReplAggregatesP...
2014 Sep 08
2
[LLVMdev] Problem linking and JITing code through C++-API
...gt; > return EXIT_FAILURE; > > > > } > > > > std::cout << "Linking done..." << std::endl; > > > > rtlib->dump(); > > > > // Run optimization passes. > > > > // std::vector<const char *> exportList; > > > > // llvm::PassManager Passes; > > > > // Passes.add(new llvm::DataLayout(rtlib)); > > > > // Passes.add(llvm::createDemoteRegisterToMemoryPass()); > > > > // Passes.add(llvm::createInternalizePass(exportList)); > > > >...