Skip to content

Commit 6dc3c95

Browse files
committed
Refactor code
1 parent 74e6356 commit 6dc3c95

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

llvm/include/llvm/ExecutionEngine/Orc/Shared/AutoLoadDylibUtils.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ class BloomFilter {
8383
BloomFilter(const BloomFilter &other) noexcept
8484
: Initialized(other.Initialized), SymbolsCount(other.SymbolsCount),
8585
BloomSize(other.BloomSize), BloomShift(other.BloomShift),
86-
BloomTable(other.BloomTable) {
87-
}
86+
BloomTable(other.BloomTable) {}
8887
BloomFilter &operator=(const BloomFilter &other) = delete;
8988

9089
BloomFilter(BloomFilter &&other) noexcept

llvm/lib/ExecutionEngine/Orc/TargetProcess/AutoLoadDyLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class DynamicLoader {
491491
: AutoLoadDylibMgr(DLM), ShouldPermanentlyIgnoreCallback(shouldIgnore),
492492
ExecutableFormat(execFormat) {}
493493

494-
~DynamicLoader(){};
494+
~DynamicLoader() {};
495495

496496
std::string searchLibrariesForSymbol(StringRef mangledName,
497497
bool searchSystem);

llvm/lib/ExecutionEngine/Orc/TargetProcess/AutoLoadDylibLookUp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,18 @@ bool SplitPaths(StringRef PathStr, SmallVectorImpl<StringRef> &Paths,
169169

170170
AutoLoadDynamicLibraryLookup ::AutoLoadDynamicLibraryLookup() {
171171
const SmallVector<const char *, 10> kSysLibraryEnv = {
172-
"LD_LIBRARY_PATH",
172+
"LD_LIBRARY_PATH",
173173
#if __APPLE__
174-
"DYLD_LIBRARY_PATH",
175-
"DYLD_FALLBACK_LIBRARY_PATH",
174+
"DYLD_LIBRARY_PATH",
175+
"DYLD_FALLBACK_LIBRARY_PATH",
176176
/*
177177
"DYLD_VERSIONED_LIBRARY_PATH",
178178
"DYLD_FRAMEWORK_PATH",
179179
"DYLD_FALLBACK_FRAMEWORK_PATH",
180180
"DYLD_VERSIONED_FRAMEWORK_PATH",
181181
*/
182182
#elif defined(_WIN32)
183-
"PATH",
183+
"PATH",
184184
#endif
185185
};
186186

llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include "llvm/Support/FormatVariadic.h"
1313

1414
#include <dlfcn.h>
15-
#include <string>
16-
#include <unordered_map>
1715

1816
#define DEBUG_TYPE "orc"
1917

0 commit comments

Comments
 (0)