diff options
author | Zsolt Parragi <zsolt.parragi@cancellar.hu> | 2019-08-13 12:29:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-30 15:30:38 (GMT) |
commit | c856d4556b4ec28cb818ef3c7aca1e4a30e0499d (patch) | |
tree | af46514551c74f62952d3d2d5cf2ca34171f9a1c /Source/bindexplib.h | |
parent | 079b8e29168dc081f37f79f3577a5c0690bb7051 (diff) | |
download | CMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.zip CMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.tar.gz CMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.tar.bz2 |
bindexplib: supporting llvm bitcode formats using llvm-nm
Diffstat (limited to 'Source/bindexplib.h')
-rw-r--r-- | Source/bindexplib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/bindexplib.h b/Source/bindexplib.h index 3e22ac7..6c066c5 100644 --- a/Source/bindexplib.h +++ b/Source/bindexplib.h @@ -12,13 +12,16 @@ class bindexplib { public: - bindexplib() {} + bindexplib() { NmPath = "nm"; } bool AddDefinitionFile(const char* filename); bool AddObjectFile(const char* filename); void WriteFile(FILE* file); + void SetNmPath(std::string const& nm); + private: std::set<std::string> Symbols; std::set<std::string> DataSymbols; + std::string NmPath; }; #endif |