search for: machodump

Displaying 19 results from an estimated 19 matches for "machodump".

2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...Undefined symbols for architecture x86_64: "_xar_serialize", referenced from: DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned int, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o "_xar_file_first", referenced from: DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned int, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o "_xar_iter_n...
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...t;> "_xar_serialize", referenced from: >> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >> unsigned int, bool, bool, bool, std::__1::basic_string<char, >> std::__1::char_traits<char>, std::__1::allocator<char> >) in >> MachODump.cpp.o >> "_xar_file_first", referenced from: >> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >> unsigned int, bool, bool, bool, std::__1::basic_string<char, >> std::__1::char_traits<char>, std::__1::allocator<char> >) in...
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...hitecture x86_64: > "_xar_serialize", referenced from: > DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, > unsigned int, bool, bool, bool, std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in > MachODump.cpp.o > "_xar_file_first", referenced from: > DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, > unsigned int, bool, bool, bool, std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in > MachODump....
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...ot;, referenced from: >>>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>>> std::__1::char_traits<char>, std::__1::allocator<char> >) in >>>> MachODump.cpp.o >>>> "_xar_file_first", referenced from: >>>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>>> std::__1::char_traits<char>, std::__1...
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...xar_serialize", referenced from: >>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>> std::__1::char_traits<char>, std::__1::allocator<char> >) in >>> MachODump.cpp.o >>> "_xar_file_first", referenced from: >>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>> std::__1::char_traits<char>, std::__1::allocator<c...
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...elete-non-virtual-dtor -Werror=date-time -std=c++11 -O3 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump ../../lib/libLLVM.dylib -Wl,-rpath, at executable_path/../lib -lxar eliminates the bootstrap failure. > > Kev > >> On May 24, 2016, at 10:28 AM, Jack Howarth <howarth.mailing.lists at gmail.com> wrote: >> >> On Tue, May 24, 2016 a...
2016 May 24
1
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...elete-non-virtual-dtor -Werror=date-time -std=c++11 -O3 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump ../../lib/libLLVMX86AsmPrinter.dylib ../../lib/libLLVMPowerPCAsmPrinter.dylib ../../lib/libLLVMARMAsmPrinter.dylib ../../lib/libLLVMX86Desc.dylib ../../lib/libLLVMPowerPCDesc.dylib ../../lib/libLLVMARMDesc.dylib ../../lib/libLLVMX86Disassembler.dylib ../../lib/libL...
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...from: >>>>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>>>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>>>> std::__1::char_traits<char>, std::__1::allocator<char> >) in >>>>> MachODump.cpp.o >>>>> "_xar_file_first", referenced from: >>>>> DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, >>>>> unsigned int, bool, bool, bool, std::__1::basic_string<char, >>>>> std::__1::char_traits<char...
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...=c++11 -O3 >> -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib >> -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o >> CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o >> CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o >> CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump >> ../../lib/libLLVM.dylib -Wl,-rpath, at executable_path/../lib -lxar >> >> eliminates the bootstrap failure. >> >>> >>> Kev >>> >>>> On May 24, 2016, at 10:28 AM, Jack Howarth <howarth.mailing.lists...
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...gt; -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib >>> -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o >>> CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o >>> CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o >>> CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump >>> ../../lib/libLLVM.dylib -Wl,-rpath, at executable_path/../lib -lxar >>> >>> eliminates the bootstrap failure. >>> >>>> >>>> Kev >>>> >>>>> On May 24, 2016, at 10:28 AM, Jack H...
2016 May 24
0
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...error=date-time -std=c++11 -O3 > -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib > -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o > CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o > CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o > CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump > ../../lib/libLLVM.dylib -Wl,-rpath, at executable_path/../lib -lxar > > eliminates the bootstrap failure. > >> >> Kev >> >>> On May 24, 2016, at 10:28 AM, Jack Howarth <howarth.mailing.lists at gmail.com> wrote: &gt...
2015 Jul 15
2
[LLVMdev] SymbolRef and getSize
...rn ec.value(); } Binary &Binary = *BinaryOrErr.get().getBinary(); object::ObjectFile *objfile; objfile = dyn_cast<ObjectFile>(&Binary); for (const SymbolRef &Symbol : objfile->symbols()) { uint64_t size; Symbol.getAddress(size); } #### During my previous search, I check machODump.cpp in order to see of the list all the function. They never use the getSize() but they use the address (getAddress()) of the next function. Does anyone have ever heard of a bug with this function or did I do something wrong? Greeting, Johan Wehrli
2016 Nov 11
2
Is it possible to execute Objective-C code via LLVM JIT?
Hi Stanislav Thanks for checking on this. If you want a quick hack, you can try to read the code in tools/llvm-objdump/MachODump.cpp. There are some c code in there to parse metadata. My code is something I put up for my own purpose for debugging/parsing objc metadata. The interface is a bit rough to use but the biggest problem is testing. I have my own binary living out of tree to test the parser but it doesn't make se...
2014 Aug 06
4
[LLVMdev] Looking for ideas on how to make llvm-objdump handle both arm and thumb disassembly from the same object file
...ning multiple disassemblers down into the core disassembler logic and using subtarget to select between them. Like the ARMAsmParser and I think the ARMInstPrinter work. But that seems very complicated for a single target that has two disassemblers. The implementation of llvm-objdump does have a MachODump.cpp for use with the -m option that I could do the a similar hack otool(1) like hack and special case 32-bit ARM cpus. And at least it contains the ugliness. But this does not really help the non -m case and I suspect ELF objects may face a similar problem. The other more radical change I was th...
2016 Nov 11
2
Is it possible to execute Objective-C code via LLVM JIT?
Hi Kevin I am just pointing out that is a good place to look at how metadata is parsed and it supports parsing metadata from pre-linked object file which is important to JIT. My code pretty much replicate most of the functions in MachODump in C++ and hope it can much more reusable than the c parser. The biggest missing part is the resilience to bad metadata due to the fact we currently don't have good way to recover from error but I know Chris B is working on something like that. I will definitely ask more feedback from you when...
2014 Aug 09
2
[LLVMdev] Looking for ideas on how to make llvm-objdump handle both arm and thumb disassembly from the same object file
On Thu, Aug 7, 2014 at 7:09 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote: >> The implementation of llvm-objdump does have a MachODump.cpp for use with the -m option that I could do the a similar hack otool(1) like hack and special case 32-bit ARM cpus. And at least it contains the ugliness. But this does not really help the non -m case and I suspect ELF objects may face a similar problem. > > My gut feeling would be to do...
2016 Oct 22
3
Is it possible to execute Objective-C code via LLVM JIT?
> So no JIT for i386? I didn't realise i386 still used ObjC 1 - all my experiments were on arm64. i386 support for ObjC would be nice to have, but it's not a blocker for adding ObjC 2 support. - Lang. On Thu, Oct 20, 2016 at 11:57 AM, Steven Wu <stevenwu at apple.com> wrote: > > > > On Oct 19, 2016, at 11:28 AM, Stanislav Pankevich <s.pankevich at
2018 Feb 15
4
llvm-6.0.0rc2: fatal error: clang/Basic/Version.h: No such file or directory
...n terminated. [3188/4317] Building CXX object tools/llvm-cfi-verify/lib/CMakeFiles/LLVMCFIVerify.dir/GraphBuilder.cpp.o [3189/4317] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o [3190/4317] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/MachODump.cpp.o ninja: build stopped: subcommand failed. loki build 189 loki build 189 find /export2/src/llvm-6.0.0/llvm-6.0.0rc2.src -name Version.h /export2/src/llvm-6.0.0/llvm-6.0.0rc2.src/tools/cfe-6.0.0rc2.src/include/clang/Basic/Version.h /export2/src/llvm-6.0.0/llvm-6.0.0rc2.src/tools/lld-6.0.0rc2.src...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...diff' llvm[2]: Compiling ELFDump.cpp for Release+Asserts build llvm[2]: Compiling ARMWinEHPrinter.cpp for Release+Asserts build make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/tools/llvm-rtdyld' llvm[2]: Compiling llvm-rtdyld.cpp for Release+Asserts build llvm[2]: Compiling MachODump.cpp for Release+Asserts build llvm[2]: Compiling COFFDumper.cpp for Release+Asserts build llvm[2]: Linking Release+Asserts executable llvm-rtdyld (without symbols) llvm[2]: Compiling ELFDumper.cpp for Release+Asserts build llvm[2]: ======= Finished Linking Release+Asserts Executable llvm-rtdyld (wi...