File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed 
include/llvm/ExecutionEngine/Orc/TargetProcess 
lib/ExecutionEngine/Orc/TargetProcess Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,10 @@ class LibraryManager {
9696    mutable  std::shared_mutex mutex;
9797  };
9898
99-   /* *
100-    * @brief A read-only view of libraries filtered by state and kind. 
101-    * 
102-    * Lets you loop over only the libraries in a map that match a given State 
103-    * and PathType. 
104-    */  
99+   // / A read-only view of libraries filtered by state and kind.
100+   // /
101+   // / Lets you loop over only the libraries in a map that match a given State
102+   // / and PathType.
105103  class  FilteredView  {
106104  public: 
107105    using  Map = StringMap<std::shared_ptr<LibraryInfo>>;
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ bool DylibPathValidator::isSharedLibrary(StringRef Path) {
233233  if  (MagicCode == file_magic::archive)
234234    return  false ;
235235
236-      //  Universal binary handling.
236+   //  Universal binary handling.
237237#if  defined(__APPLE__)
238238  if  (MagicCode == file_magic::macho_universal_binary) {
239239    ObjectFileLoader ObjLoader (Path);
@@ -430,7 +430,7 @@ mode_t PathResolver::lstatCached(StringRef path) {
430430    return  *cache;
431431
432432  //  Not cached: perform lstat and store
433-   struct  stat  buf  {};
433+   struct  stat  buf{};
434434  mode_t  st_mode = (lstat (path.str ().c_str (), &buf) == -1 ) ? 0  : buf.st_mode ;
435435
436436  m_cache->insert_lstat (path, st_mode);
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments