mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Make LLVM debuginfo option names consistent
This commit is contained in:
parent
aea1a51561
commit
d3574b8dc7
6
configure
vendored
6
configure
vendored
@ -642,7 +642,7 @@ opt_nosave optimize-cxx 1 "build optimized C++ code"
|
|||||||
opt_nosave optimize-llvm 1 "build optimized LLVM"
|
opt_nosave optimize-llvm 1 "build optimized LLVM"
|
||||||
opt_nosave llvm-assertions 0 "build LLVM with assertions"
|
opt_nosave llvm-assertions 0 "build LLVM with assertions"
|
||||||
opt_nosave debug-assertions 0 "build with debugging assertions"
|
opt_nosave debug-assertions 0 "build with debugging assertions"
|
||||||
opt_nosave llvm-debuginfo 0 "build LLVM with debugger metadata"
|
opt_nosave llvm-release-debuginfo 0 "build LLVM with debugger metadata"
|
||||||
opt_nosave debuginfo 0 "build with debugger metadata"
|
opt_nosave debuginfo 0 "build with debugger metadata"
|
||||||
opt_nosave debuginfo-lines 0 "build with line number debugger metadata"
|
opt_nosave debuginfo-lines 0 "build with line number debugger metadata"
|
||||||
opt_nosave debug-jemalloc 0 "build jemalloc with --enable-debug --enable-fill"
|
opt_nosave debug-jemalloc 0 "build jemalloc with --enable-debug --enable-fill"
|
||||||
@ -779,7 +779,7 @@ if [ -n "$CFG_DISABLE_OPTIMIZE_CXX" ]; then putvar CFG_DISABLE_OPTIMIZE_CXX; fi
|
|||||||
if [ -n "$CFG_DISABLE_OPTIMIZE_LLVM" ]; then putvar CFG_DISABLE_OPTIMIZE_LLVM; fi
|
if [ -n "$CFG_DISABLE_OPTIMIZE_LLVM" ]; then putvar CFG_DISABLE_OPTIMIZE_LLVM; fi
|
||||||
if [ -n "$CFG_ENABLE_LLVM_ASSERTIONS" ]; then putvar CFG_ENABLE_LLVM_ASSERTIONS; fi
|
if [ -n "$CFG_ENABLE_LLVM_ASSERTIONS" ]; then putvar CFG_ENABLE_LLVM_ASSERTIONS; fi
|
||||||
if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTIONS; fi
|
if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTIONS; fi
|
||||||
if [ -n "$CFG_ENABLE_LLVM_DEBUGINFO" ]; then putvar CFG_ENABLE_LLVM_DEBUGINFO; fi
|
if [ -n "$CFG_ENABLE_LLVM_RELEASE_DEBUGINFO" ]; then putvar CFG_ENABLE_LLVM_RELEASE_DEBUGINFO; fi
|
||||||
if [ -n "$CFG_ENABLE_DEBUGINFO" ]; then putvar CFG_ENABLE_DEBUGINFO; fi
|
if [ -n "$CFG_ENABLE_DEBUGINFO" ]; then putvar CFG_ENABLE_DEBUGINFO; fi
|
||||||
if [ -n "$CFG_ENABLE_DEBUGINFO_LINES" ]; then putvar CFG_ENABLE_DEBUGINFO_LINES; fi
|
if [ -n "$CFG_ENABLE_DEBUGINFO_LINES" ]; then putvar CFG_ENABLE_DEBUGINFO_LINES; fi
|
||||||
if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
|
if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
|
||||||
@ -1774,7 +1774,7 @@ do
|
|||||||
|
|
||||||
if [ -n "$CFG_DISABLE_OPTIMIZE_LLVM" ]; then
|
if [ -n "$CFG_DISABLE_OPTIMIZE_LLVM" ]; then
|
||||||
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug"
|
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug"
|
||||||
elif [ -n "$CFG_ENABLE_LLVM_DEBUGINFO" ]; then
|
elif [ -n "$CFG_ENABLE_LLVM_RELEASE_DEBUGINFO" ]; then
|
||||||
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||||
else
|
else
|
||||||
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release"
|
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release"
|
||||||
|
@ -21,7 +21,7 @@ endif
|
|||||||
|
|
||||||
ifdef CFG_DISABLE_OPTIMIZE_LLVM
|
ifdef CFG_DISABLE_OPTIMIZE_LLVM
|
||||||
LLVM_BUILD_CONFIG_MODE := Debug
|
LLVM_BUILD_CONFIG_MODE := Debug
|
||||||
else ifdef CFG_ENABLE_LLVM_DEBUGINFO
|
else ifdef CFG_ENABLE_LLVM_RELEASE_DEBUGINFO
|
||||||
LLVM_BUILD_CONFIG_MODE := RelWithDebInfo
|
LLVM_BUILD_CONFIG_MODE := RelWithDebInfo
|
||||||
else
|
else
|
||||||
LLVM_BUILD_CONFIG_MODE := Release
|
LLVM_BUILD_CONFIG_MODE := Release
|
||||||
|
@ -339,7 +339,7 @@ impl Config {
|
|||||||
("COMPILER_DOCS", self.compiler_docs),
|
("COMPILER_DOCS", self.compiler_docs),
|
||||||
("DOCS", self.docs),
|
("DOCS", self.docs),
|
||||||
("LLVM_ASSERTIONS", self.llvm_assertions),
|
("LLVM_ASSERTIONS", self.llvm_assertions),
|
||||||
("LLVM_DEBUGINFO", self.llvm_release_debuginfo),
|
("LLVM_RELEASE_DEBUGINFO", self.llvm_release_debuginfo),
|
||||||
("OPTIMIZE_LLVM", self.llvm_optimize),
|
("OPTIMIZE_LLVM", self.llvm_optimize),
|
||||||
("LLVM_VERSION_CHECK", self.llvm_version_check),
|
("LLVM_VERSION_CHECK", self.llvm_version_check),
|
||||||
("LLVM_STATIC_STDCPP", self.llvm_static_stdcpp),
|
("LLVM_STATIC_STDCPP", self.llvm_static_stdcpp),
|
||||||
|
Loading…
Reference in New Issue
Block a user