Displaying 20 results from an estimated 24 matches for "is_debug".
Did you mean:
xs_debug
2018 Sep 12
2
How to make LLVM go faster?
...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());
return true;
}
TargetMachine* target_machine =
reinterpret_cast<TargetMachine*>...
2014 Dec 04
2
[PATCH v2] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
...v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -49,13 +49,14 @@ type kernel_info = {
ki_modules : string list; (* The list of module names. *)
ki_supports_virtio : bool; (* Kernel has virtio drivers? *)
ki_is_xen_kernel : bool; (* Is a Xen paravirt kernel? *)
+ ki_is_debug : bool; (* Is debug kernel? *)
}
let string_of_kernel_info ki =
- sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b)"
+ sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
(match ki.ki_initrd wi...
2014 Dec 04
0
Re: [PATCH v2] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
...b/v2v/convert_linux.ml
> @@ -49,13 +49,14 @@ type kernel_info = {
> ki_modules : string list; (* The list of module names. *)
> ki_supports_virtio : bool; (* Kernel has virtio drivers? *)
> ki_is_xen_kernel : bool; (* Is a Xen paravirt kernel? *)
> + ki_is_debug : bool; (* Is debug kernel? *)
> }
>
> let string_of_kernel_info ki =
> - sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b)"
> + sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
> ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlin...
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...pv_only_kernel =
+ check_config "X86_XEN" config_file ||
+ check_config "X86_64_XEN" config_file in
- (* If the package name is like "kernel-debug", then it's
- * a debug kernel.
- *)
- let is_debug =
- String.is_suffix app.G.app2_name "-debug" ||
- String.is_suffix app.G.app2_name "-dbg" in
+ (* If the package name is like "kernel-debug", then it's
+ * a debug kernel.
+ *)
+ let is_debug =...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
Metapackages are valid packages with no files, used to easily install
something without manually installing bits.
This is the case of the "kernel" package in Fedora/RHEL/etc in the last
couple of years.
---
v2v/linux_kernels.ml | 1 -
1 file changed, 1 deletion(-)
diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml
index 9a41225a..78c1ee59 100644
--- a/v2v/linux_kernels.ml
+++
2014 Dec 04
1
[PATCH] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
...v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -49,13 +49,14 @@ type kernel_info = {
ki_modules : string list; (* The list of module names. *)
ki_supports_virtio : bool; (* Kernel has virtio drivers? *)
ki_is_xen_kernel : bool; (* Is a Xen paravirt kernel? *)
+ ki_is_debug : bool; (* Is debug kernel? *)
}
let string_of_kernel_info ki =
- sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b)"
+ sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
(match ki.ki_initrd wi...
2014 Dec 04
2
[PATCH v3 0/2] v2v: When picking a default kernel, favour non-debug
Since v2:
- Use string_suffix kernel_name "-debug" || string_suffix kernel_name "-dbg"
- This requires addition of the string_suffix function and some tests
2007 Aug 06
0
cannot use winedbg on ubuntu feisty ?
...t_symbol+0x6b(symbol=<register EAX not in
topmost frame>) [/home/dex/wine-0.9.42/programs/winedbg/stack.c:143] in
winedbg (0x0033f838)
12 0x7eca2e97 display_print+0x57()
[/home/dex/wine-0.9.42/programs/winedbg/display.c:174] in winedbg
(0x0033f9e8)
13 0x7ecb1845 dbg_exception_prolog+0x145(is_debug=0x1,
first_chance=<register EAX not in topmost frame>, rec=0x33fe4c)
[/home/dex/wine-0.9.42/programs/winedbg/tgt_active.c:180] in winedbg
(0x0033fbf8)
14 0x7ecb1e2f dbg_handle_exception+0x19f(rec=<register ESI not in
topmost frame>, first_chance=0x1)
[/home/dex/wine-0.9.42/programs/wi...
2016 Sep 09
0
[PATCH] v2v: linux: Move kernel detection to a separate module.
...th of initramfs, if found. *)
- ki_modpath : string; (* The module path. *)
- ki_modules : string list; (* The list of module names. *)
- ki_supports_virtio : bool; (* Kernel has virtio drivers? *)
- ki_is_xen_kernel : bool; (* Is a Xen paravirt kernel? *)
- ki_is_debug : bool; (* Is debug kernel? *)
-}
-
-let string_of_kernel_info ki =
- sprintf "(%s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
- ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
- (match ki.ki_initrd with None -> "None" | Some f -> f)
- ki.ki_sup...
2016 Sep 09
2
[PATCH] v2v: linux: Move kernel detection to a separate module.
This is a sort of follow-up to the Linux_bootloaders patch.
It turns out all the kernel detection code is nicely self-
contained and can therefore be moved to its own module.
Rich.
2017 Apr 06
0
[PATCH v3 2/8] v2v: linux: Fix Xen PV-only detection.
...2v/linux_kernels.ml
index 2efd070a6..459dc06bd 100644
--- a/v2v/linux_kernels.ml
+++ b/v2v/linux_kernels.ml
@@ -39,7 +39,7 @@ type kernel_info = {
ki_modpath : string;
ki_modules : string list;
ki_supports_virtio : bool;
- ki_is_xen_kernel : bool;
+ ki_is_xen_pv_only_kernel : bool;
ki_is_debug : bool;
ki_config_file : string option;
}
@@ -49,7 +49,7 @@ let string_of_kernel_info ki =
ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
(match ki.ki_initrd with None -> "None" | Some f -> f)
(match ki.ki_config_file with None -> "None" | Some f -...
2017 Apr 06
9
[PATCH v3 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v2 -> v3:
- Fix Xen PV-only kernel detection.
Rich.
2017 Apr 06
0
[PATCH v4 2/9] v2v: linux: Fix Xen PV-only detection.
...2v/linux_kernels.ml
index 2efd070a6..312d6d1c0 100644
--- a/v2v/linux_kernels.ml
+++ b/v2v/linux_kernels.ml
@@ -39,7 +39,7 @@ type kernel_info = {
ki_modpath : string;
ki_modules : string list;
ki_supports_virtio : bool;
- ki_is_xen_kernel : bool;
+ ki_is_xen_pv_only_kernel : bool;
ki_is_debug : bool;
ki_config_file : string option;
}
@@ -49,7 +49,7 @@ let string_of_kernel_info ki =
ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
(match ki.ki_initrd with None -> "None" | Some f -> f)
(match ki.ki_config_file with None -> "None" | Some f -...
2017 Apr 06
12
[PATCH v4 0/9] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v3: https://www.redhat.com/archives/libguestfs/2017-April/msg00051.html
v3 -> v4:
- Properly fix Xen PV-only kernel detection, and test it.
Rich.
2017 Apr 05
7
[PATCH 0/6] v2v: Add drivers for virtio-rng, balloon, pvpanic.
Yaniv pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1438794
that virt-v2v both doesn't install the virtio-rng driver for Windows,
and doesn't give the guest a virtio-rng PCI device either.
There are two problems here:
Firstly the Windows virtio-rng driver isn't included in the exploded
tree (/usr/share/virtio-win) so it doesn't get copied into the guest.
The solution
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...rnels.ml
+++ b/v2v/linux_kernels.ml
@@ -38,18 +38,25 @@ type kernel_info = {
ki_initrd : string option;
ki_modpath : string;
ki_modules : string list;
- ki_supports_virtio : bool;
+ ki_supports_virtio_blk : bool;
+ ki_supports_virtio_net : bool;
ki_is_xen_pv_only_kernel : bool;
ki_is_debug : bool;
ki_config_file : string option;
}
-let string_of_kernel_info ki =
- sprintf "(%s, %s, %s, %s, %s, %s, virtio=%b, xen=%b, debug=%b)"
- ki.ki_name ki.ki_version ki.ki_arch ki.ki_vmlinuz
- (match ki.ki_initrd with None -> "None" | Some f -> f)
- (match...
2017 Apr 05
9
[PATCH v2 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1 was posted here:
https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v1 -> v2:
- Add support for -o glance.
- Add support for -o qemu.
- Fix the -o libvirt support for balloon as pointed out by Dan.
- Fix a test failure caused by changing libvirt XML output.
Rich.
2016 Oct 03
4
[PATCH v2 0/3] v2v: further bits of Debian/Ubuntu guests supports
Hi,
this series adds a couple bits more in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* currently tested with simple local guest images, hence needs testing
with real guests on
2017 Sep 16
2
assertion triggered since update to llvm 5
...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 in codegen_build (g=0x907a980) at
/home/andy/dev/zig/src/codegen.cpp:5484
#26 0x0000000001d1d564 in main (argc=4, argv=0x7fffffffca...
2017 Sep 17
2
assertion triggered since update to llvm 5
...yPassMana
>> 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/src/codegen.cpp:4379
>> #25 0x0000000001cd4634 in codegen_build (g=0x907a980) at
>> /home/andy/dev/zig/src/codegen.cpp:5484
>> #26...