about summary refs log tree commit diff
path: root/src/debuginfo
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-08-06 16:26:56 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-08-06 16:26:56 +0200
commitd2201598100135a6007381139c3a1ec598e9a888 (patch)
treea19af55e5676161b91615280be9a090e7dd96f20 /src/debuginfo
parent0f83ac19f054890bcc052e5a26f5dbbb836d3766 (diff)
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
Diffstat (limited to 'src/debuginfo')
-rw-r--r--src/debuginfo/emit.rs2
-rw-r--r--src/debuginfo/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/debuginfo/emit.rs b/src/debuginfo/emit.rs
index 6018eefcd42..fb6ccd7c535 100644
--- a/src/debuginfo/emit.rs
+++ b/src/debuginfo/emit.rs
@@ -160,7 +160,7 @@ impl Writer for WriterRelocate {
                 let val = match eh_pe.application() {
                     gimli::DW_EH_PE_absptr => val,
                     gimli::DW_EH_PE_pcrel => {
-                        // TODO: better handling of sign
+                        // FIXME better handling of sign
                         let offset = self.len() as u64;
                         offset.wrapping_sub(val)
                     }
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs
index c67336eb3f2..ceef65d5478 100644
--- a/src/debuginfo/mod.rs
+++ b/src/debuginfo/mod.rs
@@ -46,7 +46,7 @@ impl<'tcx> DebugContext<'tcx> {
     pub(crate) fn new(tcx: TyCtxt<'tcx>, isa: &dyn TargetIsa) -> Self {
         let encoding = Encoding {
             format: Format::Dwarf32,
-            // TODO: this should be configurable
+            // FIXME this should be configurable
             // macOS doesn't seem to support DWARF > 3
             // 5 version is required for md5 file hash
             version: if tcx.sess.target.is_like_osx {