Displaying 7 results from an estimated 7 matches for "module_ref".
2003 Nov 26
1
[PATCH] use 2.6 module syscalls in klibc
...this decl. */
-struct exception_table_entry;
-
-/* Used by get_kernel_syms, which is obsolete. */
-struct kernel_sym
-{
- unsigned long value;
- char name[60]; /* should have been 64-sizeof(long); oh well */
-};
-
-struct module_symbol
-{
- unsigned long value;
- const char *name;
-};
-
-struct module_ref
-{
- struct module *dep; /* "parent" pointer */
- struct module *ref; /* "child" pointer */
- struct module_ref *next_ref;
-};
-
-/* TBD */
-struct module_persist;
-
-struct module
-{
- unsigned long size_of_struct; /* == sizeof(module) */
- struct module *next;
- const char *na...
2002 Dec 23
1
klibc insmod for recent kernels
...this decl. */
-struct exception_table_entry;
-
-/* Used by get_kernel_syms, which is obsolete. */
-struct kernel_sym
-{
- unsigned long value;
- char name[60]; /* should have been 64-sizeof(long); oh well */
-};
-
-struct module_symbol
-{
- unsigned long value;
- const char *name;
-};
-
-struct module_ref
-{
- struct module *dep; /* "parent" pointer */
- struct module *ref; /* "child" pointer */
- struct module_ref *next_ref;
-};
-
-/* TBD */
-struct module_persist;
-
-struct module
-{
- unsigned long size_of_struct; /* == sizeof(module) */
- struct module *next;
- const char *na...
2018 Sep 12
2
How to make LLVM go faster?
...an object
file. This is with optimizations off, FastISel, no module verification, etc.
How can I speed this up? Any tips or things to look into?
Here's the function that 81% of the time is spent inside:
bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref,
LLVMModuleRef module_ref,
const char *filename, ZigLLVM_EmitOutputType output_type, char
**error_message, bool is_debug, bool is_small)
{
std::error_code EC;
raw_fd_ostream dest(filename, EC, sys::fs::F_None);
if (EC) {
*error_message = strdup((const char
*)StringRef(EC.message()).bytes_begin())...
2017 Sep 16
2
assertion triggered since update to llvm 5
...ject/llvm/lib/IR/LegacyPassManager.cpp:1694
#22 0x00000000054d1e7f in llvm::legacy::PassManager::run
(this=0x7fffffffc010, M=...)
at
/home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1725
#23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile
(targ_machine_ref=0x9080d50,
module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o",
file_type=LLVMObjectFile,
error_message=0x7fffffffc2f8, is_debug=false) at
/home/andy/dev/zig/src/zig_llvm.cpp:166
#24 0x0000000001cd041d in do_code_gen (g=0x907a980) at
/home/andy/dev/zig/src/codegen.cpp:4379
#25 0x0000000001cd4634...
2017 Sep 17
2
assertion triggered since update to llvm 5
...000054d1e7f in llvm::legacy::PassManager::run
>> (this=0x7fffffffc010, M=...)
>> at /home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassMana
>> ger.cpp:1725
>> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile
>> (targ_machine_ref=0x9080d50,
>> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o",
>> file_type=LLVMObjectFile,
>> error_message=0x7fffffffc2f8, is_debug=false) at
>> /home/andy/dev/zig/src/zig_llvm.cpp:166
>> #24 0x0000000001cd041d in do_code_gen (g=0x907a980) at
>> /home/andy/dev/zig...
2017 Sep 17
4
assertion triggered since update to llvm 5
...gt;>>> (this=0x7fffffffc010, M=...)
>>>> at
>>>> /home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1725
>>>> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile
>>>> (targ_machine_ref=0x9080d50,
>>>> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o",
>>>> file_type=LLVMObjectFile,
>>>> error_message=0x7fffffffc2f8, is_debug=false) at
>>>> /home/andy/dev/zig/src/zig_llvm.cpp:166
>>>> #24 0x0000000001cd041d in do_code_gen (g=0x907a980...
2017 Sep 17
2
assertion triggered since update to llvm 5
...=0x7fffffffc010, M=...)
>>>>> at /home/andy/downloads/llvm-project/llvm/lib/IR/LegacyPassMana
>>>>> ger.cpp:1725
>>>>> #23 0x0000000001d4017d in ZigLLVMTargetMachineEmitToFile
>>>>> (targ_machine_ref=0x9080d50,
>>>>> module_ref=0x907e870, filename=0x90cf360 "./zig-cache/test.o",
>>>>> file_type=LLVMObjectFile,
>>>>> error_message=0x7fffffffc2f8, is_debug=false) at
>>>>> /home/andy/dev/zig/src/zig_llvm.cpp:166
>>>>> #24 0x0000000001cd041d in do_code_...