mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-09-02 14:04:12 +00:00
Disable LTO for profile.dev when building CAmkES components.
This is a workaround for gdb complaints of the form: Dwarf Error: Cannot find DIE at 0x5136b referenced from DIE at 0x57eed Release builds continue to enable LTO. BUG: 223253186 Change-Id: I137456045e842b2b93b32e0edd348ff916925c97 GitOrigin-RevId: 8ab2ab4fac615eb2a1a259a5a18aa410a4aae5fb
This commit is contained in:
@@ -14,7 +14,8 @@ resolver = "2"
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
lto = "fat"
|
||||
# TODO(b/223253186): workaround gdb DIE errors
|
||||
lto = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
|
@@ -10,7 +10,8 @@ resolver = "2"
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
lto = "fat"
|
||||
# TODO(b/223253186): workaround gdb DIE errors
|
||||
lto = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
|
@@ -11,7 +11,8 @@ resolver = "2"
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
lto = "fat"
|
||||
# TODO(b/223253186): workaround gdb DIE errors
|
||||
lto = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
|
@@ -10,7 +10,8 @@ resolver = "2"
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
lto = "fat"
|
||||
# TODO(b/223253186): workaround gdb DIE errors
|
||||
lto = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
|
@@ -10,7 +10,8 @@ resolver = "2"
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
lto = "fat"
|
||||
# TODO(b/223253186): workaround gdb DIE errors
|
||||
lto = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
|
Reference in New Issue
Block a user